Skip to content

Commit

Permalink
fix: assume new owner is not owner in external receive ownership test (
Browse files Browse the repository at this point in the history
  • Loading branch information
scnale authored Jan 22, 2025
1 parent af97781 commit 7e598d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/components/dispatcher/AccessControl.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ contract AcessControlTest is DispatcherTestBase {
}

function testExternalReceiveOwnership(address newOwner) public {
vm.assume(newOwner != owner);
vm.prank(owner);
dispatcher.transferOwnership(newOwner);

Expand Down

0 comments on commit 7e598d2

Please sign in to comment.