Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Aug 2, 2024
1 parent 9aaf6b5 commit 4f2650d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gnt2-contracts/test/LockPayment.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ contract LockPaymentTest is Test {
assertEq(token.balanceOf(spender), 0);
assertEq(token.balanceOf(address(testee)), 3);

vm.expectEmit();
emit LockPayment.DepositFeeTransfer(depositId, spender, 1);
vm.expectEmit();
emit LockPayment.DepositClosed(depositId, spender);
vm.expectEmit();
emit LockPayment.DepositFeeTransfer(depositId, spender, 1);

vm.prank(spender);
testee.closeDeposit(depositId);
Expand Down Expand Up @@ -175,7 +175,7 @@ contract LockPaymentTest is Test {
helper_funds(msg.sender, 3, true);

vm.prank(msg.sender);
uint256 depositId = testee.createDeposit(12, spender, 2, 1, 100);
testee.createDeposit(12, spender, 2, 1, 100);

vm.roll(0);
vm.prank(msg.sender);
Expand Down

0 comments on commit 4f2650d

Please sign in to comment.