diff --git a/test/forge/BaseTest.sol b/test/forge/BaseTest.sol index 36bd64dfc..7429fafeb 100644 --- a/test/forge/BaseTest.sol +++ b/test/forge/BaseTest.sol @@ -76,14 +76,8 @@ contract BaseTest is Test { irm = new Irm(); vm.label(address(irm), "IRM"); - marketParams = - MarketParams(address(borrowableToken), address(collateralToken), address(oracle), address(irm), LLTV); - id = marketParams.id(); - vm.startPrank(OWNER); morpho.enableIrm(address(irm)); - morpho.enableLltv(LLTV); - morpho.createMarket(marketParams); vm.stopPrank(); borrowableToken.approve(address(morpho), type(uint256).max); @@ -110,8 +104,7 @@ contract BaseTest is Test { morpho.setAuthorization(BORROWER, true); vm.stopPrank(); - vm.roll(block.number + 1); - vm.warp(block.timestamp + 1 days); + _setLltv(LLTV); } function _setLltv(uint256 lltv) internal { diff --git a/test/forge/integration/LiquidateIntegrationTest.sol b/test/forge/integration/LiquidateIntegrationTest.sol index 6e8da7e05..c4bfa4a18 100644 --- a/test/forge/integration/LiquidateIntegrationTest.sol +++ b/test/forge/integration/LiquidateIntegrationTest.sol @@ -78,10 +78,6 @@ contract LiquidateIntegrationTest is BaseTest { (amountCollateral, amountBorrowed, priceCollateral) = _boundUnhealthyPosition(amountCollateral, amountBorrowed, priceCollateral); - console2.log(amountCollateral); - console2.log(amountBorrowed); - console2.log(priceCollateral); - vm.assume(amountCollateral > 1); amountSupplied = bound(amountSupplied, amountBorrowed, amountBorrowed + MAX_TEST_AMOUNT);