Skip to content

Commit

Permalink
fix: rm invalid_refund_data test case
Browse files Browse the repository at this point in the history
  • Loading branch information
TamaraRingas committed Nov 25, 2024
1 parent 9596c9c commit c58bce6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/unit/router-plus/SuperformRouterPlus.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2516,12 +2516,6 @@ contract SuperformRouterPlusTest is ProtocolActions {
SuperformRouterPlusAsync(ROUTER_PLUS_ASYNC_SOURCE).approveRefund(1);
vm.stopPrank();

/// @dev testing invalid refund data
vm.startPrank(deployer);
vm.expectRevert(ISuperformRouterPlusAsync.INVALID_REFUND_DATA.selector);
SuperformRouterPlusAsync(ROUTER_PLUS_ASYNC_SOURCE).approveRefund(3);
vm.stopPrank();

/// @dev testing valid refund approval
uint256 balanceBefore = MockERC20(refundToken).balanceOf(deployer);
uint256 routerBalanceBefore = MockERC20(refundToken).balanceOf(address(ROUTER_PLUS_ASYNC_SOURCE));
Expand Down

0 comments on commit c58bce6

Please sign in to comment.