Skip to content

Commit

Permalink
refactor: avoid unnecessary mocking
Browse files Browse the repository at this point in the history
  • Loading branch information
gas1cent committed Dec 12, 2023
1 parent 27b4a8c commit 01bff74
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion solidity/test/unit/Oracle.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,6 @@ contract Oracle_Unit_DisputeResponse is BaseTest {
vm.assume(_caller != disputer);

// Check: revert?
oracle.mock_setDisputeOf(_responseId, _disputeId);
vm.expectRevert(IOracle.Oracle_InvalidDisputeBody.selector);

// Test: try to dispute the response again
Expand Down

0 comments on commit 01bff74

Please sign in to comment.