Skip to content

Commit

Permalink
include refinance update
Browse files Browse the repository at this point in the history
  • Loading branch information
androolloyd committed Dec 11, 2023
1 parent 88111d0 commit 7d4b4c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/TestV1Status.sol
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ contract TestAstariaV1Status is AstariaV1Test, DeepEq {
vm.startPrank(newLender);
erc20s[0].mint(newLender, 10e18);
erc20s[0].approve(address(SP), 10e18);
SP.refinance(newLender, _emptyCaveat(), loan, abi.encode(newPricingData));
SP.refinance(newLender, _emptyCaveat(), loan, abi.encode(newPricingData), "");
assert(erc20s[0].balanceOf(address(loan.terms.status)) == 0);
}

Expand Down
2 changes: 1 addition & 1 deletion test/fuzz-testing/TestFuzzV1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ contract TestFuzzV1 is AstariaV1Test, TestFuzzStarport {
vm.startPrank(refiFulfiller);
erc20s[1].mint(address(refiFulfiller), additionalTransfers[0].amount);
erc20s[1].approve(address(SP), type(uint256).max);
SP.refinance(account.addr, lenderCaveat, goodLoan2, abi.encode(newPricingDetails));
SP.refinance(account.addr, lenderCaveat, goodLoan2, abi.encode(newPricingDetails), "");
vm.stopPrank();
}
}
Expand Down

0 comments on commit 7d4b4c7

Please sign in to comment.