Skip to content

Commit

Permalink
Fix flaky test by removing address(mock) from fuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
stevieraykatz committed Mar 28, 2024
1 parent eb11366 commit 95c8ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/MultiOwnable/RemoveOwnerAtIndex.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ contract RemoveOwnerAtIndexTest is MultiOwnableTestBase {
}

function testRevertsIfCalledByNonOwner(address a) public {
vm.assume(a != owner1Address);
vm.assume(a != owner1Address && a != address(mock));
vm.startPrank(a);
vm.expectRevert(MultiOwnable.Unauthorized.selector);
mock.removeOwnerAtIndex(_index(), abi.encode(a));
Expand Down

0 comments on commit 95c8ab2

Please sign in to comment.