diff --git a/test/forge/BaseTest.sol b/test/forge/BaseTest.sol index 3ab71b0e..89906a26 100644 --- a/test/forge/BaseTest.sol +++ b/test/forge/BaseTest.sol @@ -353,7 +353,7 @@ contract BaseTest is Test { uint256 maxRepaidAssets = morpho.collateral(_id, borrower).mulDivDown(collateralPrice, ORACLE_PRICE_SCALE) .wDivDown(_liquidationIncentiveFactor(_marketParams.lltv)); - (,, uint256 totalBorrowAssets, uint256 totalBorrowShares) = morpho.expectedMarketBalances(marketParams); + (,, uint256 totalBorrowAssets, uint256 totalBorrowShares) = morpho.expectedMarketBalances(_marketParams); uint256 maxRepaidShares = maxRepaidAssets.toSharesDown(totalBorrowAssets, totalBorrowShares); uint256 borrowShares = morpho.borrowShares(_id, borrower);