From 19081e12c11a18e379a89b80d7a0f1808725f05a Mon Sep 17 00:00:00 2001 From: Admazzola Date: Tue, 8 Oct 2024 14:52:46 -0400 Subject: [PATCH] test pass --- .../LenderCommitmentGroup_Smart_Liquidations_Tests.sol | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/contracts/tests/LenderCommitmentForwarder/extensions/LenderCommitmentGroup/LenderCommitmentGroup_Smart_Liquidations_Tests.sol b/packages/contracts/tests/LenderCommitmentForwarder/extensions/LenderCommitmentGroup/LenderCommitmentGroup_Smart_Liquidations_Tests.sol index ca945fbf3..7a3bd52b4 100644 --- a/packages/contracts/tests/LenderCommitmentForwarder/extensions/LenderCommitmentGroup/LenderCommitmentGroup_Smart_Liquidations_Tests.sol +++ b/packages/contracts/tests/LenderCommitmentForwarder/extensions/LenderCommitmentGroup/LenderCommitmentGroup_Smart_Liquidations_Tests.sol @@ -321,6 +321,9 @@ function test_liquidateDefaultedLoanWithIncentive_increments_amount_repaid_A() p initialize_group_contract(); + _tellerV2.setMockOwner( address(lenderCommitmentGroupSmart) ); + + principalToken.transfer(address(liquidator), 1e18); uint256 originalBalance = principalToken.balanceOf(address(liquidator)); @@ -403,6 +406,7 @@ function test_liquidateDefaultedLoanWithIncentive_increments_amount_repaid_A() p uint256 bidId = 0; + _tellerV2.setMockOwner( address(lenderCommitmentGroupSmart) ); lenderCommitmentGroupSmart.set_mockAmountOwedForBid(amountOwed);