Skip to content

Commit

Permalink
test: add revoke no revert test
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD committed Dec 27, 2023
1 parent 93d9275 commit b7bb3eb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/forge/MarketTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -315,4 +315,13 @@ contract MarketTest is IntegrationTest {
);
vault.updateWithdrawQueue(indexes);
}

function testRevokeNoRevert() public {
vm.startPrank(OWNER);
vault.revokePendingTimelockNoRevert();
vault.revokePendingGuardianNoRevert();
vault.revokePendingCapNoRevert(Id.wrap(bytes32(0)));
vault.revokePendingMarketRemoval(Id.wrap(bytes32(0)));
vm.stopPrank();
}
}

0 comments on commit b7bb3eb

Please sign in to comment.