Skip to content

Commit

Permalink
test: remove unnecessary changePrank
Browse files Browse the repository at this point in the history
  • Loading branch information
ninabarbakadze committed Aug 3, 2023
1 parent e6f0450 commit 44b4518
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/oracles/breakers/MedianDeltaBreaker.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ contract MedianDeltaBreakerTest_shouldTrigger is MedianDeltaBreakerTest {
}

function test_shouldTrigger_whenSenderIsNotBreakerBox_shouldRevert() public {
changePrank(address(sortedOracles));
vm.expectRevert("Only the BreakerBox can call this function");
breaker.shouldTrigger(rateFeedID1);
changePrank(deployer);
Expand Down

0 comments on commit 44b4518

Please sign in to comment.