Skip to content

Commit

Permalink
test: forge
Browse files Browse the repository at this point in the history
  • Loading branch information
kupermind committed Jul 18, 2024
1 parent 0868302 commit 8311624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Depository.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ contract DepositoryTest is BaseSetup {
uint256 bamount = ZuniswapV2Pair(pair).balanceOf(deployer);
// Deposit to the product Id 0
vm.prank(deployer);
depository.deposit(0, bamount);
depository.deposit(0, bamount, vesting);
// Check the size of pending bond array
(uint256[] memory bondIds, ) = depository.getBonds(deployer, false);
assertEq(bondIds.length, 1);
Expand All @@ -149,7 +149,7 @@ contract DepositoryTest is BaseSetup {

// Make a bond deposit for the product Id 0
vm.prank(deployer);
depository.deposit(0, bamount);
depository.deposit(0, bamount, vesting);

// Increase time such that the vesting is complete
vm.warp(block.timestamp + vesting + 60);
Expand Down

0 comments on commit 8311624

Please sign in to comment.