Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ltyu committed Mar 13, 2024
1 parent 8b9a772 commit e03eaaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions solidity/test/token/HypERC20CollateralVaultDeposit.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ contract HypERC20CollateralVaultDepositTest is HypTokenTest {
assertEq(vault.maxRedeem(address(erc20CollateralVaultDeposit)), 0);
assertEq(erc20CollateralVaultDeposit.assetDeposited(), 0);

vm.prank(ALICE);
primaryToken.approve(address(localToken), transferAmount);
_performRemoteTransfer(0, transferAmount);

assertApproxEqAbs(
vault.maxRedeem(address(erc20CollateralVaultDeposit)),
transferAmount,
Expand Down

0 comments on commit e03eaaa

Please sign in to comment.