Skip to content

Commit dfe4808

Browse files
committed
test: resolve
1 parent 7a82a0b commit dfe4808

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Base.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1733,7 +1733,7 @@ abstract contract Base is BatchTestProcedures {
17331733
);
17341734

17351735
uint256 restoredPremiumRay = (premiumAmountToRestore * WadRayMath.RAY).min(premiumDebtRay);
1736-
uint256 restoredShares = drawnDebtToRestore.rayDivDown(hub.getAssetDrawnIndex(reserveId));
1736+
uint256 restoredShares = drawnDebtToRestore.rayDivDown(hub.getAssetDrawnIndex(assetId));
17371737
uint256 riskPremium = _getUserLastRiskPremium(spoke, user);
17381738

17391739
return

tests/unit/Spoke/Liquidations/Spoke.LiquidationCall.Base.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1355,7 +1355,7 @@ contract SpokeLiquidationCallBaseTest is LiquidationLogicBaseTest {
13551355

13561356
_assertBeforeLiquidation(params, accountsInfoBefore, liquidationMetadata);
13571357

1358-
// _expectEventsAndCalls(params, accountsInfoBefore, liquidationMetadata);
1358+
_expectEventsAndCalls(params, accountsInfoBefore, liquidationMetadata);
13591359
vm.recordLogs();
13601360
vm.prank(params.liquidator);
13611361
params.spoke.liquidationCall(

0 commit comments

Comments
 (0)