Skip to content

Commit 7e598d2

Browse files
authored
fix: assume new owner is not owner in external receive ownership test (#78)
1 parent af97781 commit 7e598d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/components/dispatcher/AccessControl.t.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ contract AcessControlTest is DispatcherTestBase {
308308
}
309309

310310
function testExternalReceiveOwnership(address newOwner) public {
311+
vm.assume(newOwner != owner);
311312
vm.prank(owner);
312313
dispatcher.transferOwnership(newOwner);
313314

0 commit comments

Comments
 (0)