enableEmergencyMode role access test updated

This commit is contained in:
Filip Pajic
2025-08-27 14:53:59 +02:00
parent 19a44146f5
commit b9809965e9

View File

@@ -2015,9 +2015,9 @@ contract EmergencyExitTest is StakeManagerTest {
_emergencyExit(alice);
}
function test_OnlyOwnerCanEnableEmergencyMode() public {
function test_OnlyOwnerOrGuardianCanEnableEmergencyMode() public {
vm.prank(alice);
vm.expectRevert("Ownable: caller is not the owner");
vm.expectRevert(IStakeManager.StakeManager__Unauthorized.selector);
streamer.enableEmergencyMode();
}