mirror of
https://github.com/vacp2p/staking-reward-streamer.git
synced 2026-01-08 20:48:00 -05:00
update StakeManager tests to support AccessControl
This commit is contained in:
@@ -2245,7 +2245,7 @@ contract UpgradeTest is StakeManagerTest {
|
||||
address newImpl = address(new StakeManager());
|
||||
bytes memory initializeData;
|
||||
vm.prank(alice);
|
||||
vm.expectRevert("Ownable: caller is not the owner");
|
||||
vm.expectRevert(IStakeManager.StakeManager__Unauthorized.selector);
|
||||
UUPSUpgradeable(streamer).upgradeToAndCall(newImpl, initializeData);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user