diff --git a/test/registry/install-plugin/installPlugin.t.sol b/test/registry/install-plugin/installPlugin.t.sol index 714802b..c0d67c8 100644 --- a/test/registry/install-plugin/installPlugin.t.sol +++ b/test/registry/install-plugin/installPlugin.t.sol @@ -9,9 +9,8 @@ import { Registry_Test } from "../Registry.t.sol"; contract InstallPlugin_Test is Registry_Test { function test_RevertWhen_CallerDoesNotHaveProxy() external { vm.expectRevert( - abi.encodeWithSelector(IPRBProxyRegistry.PRBProxyRegistry_CallerDoesNotHaveProxy.selector, users.bob) + abi.encodeWithSelector(IPRBProxyRegistry.PRBProxyRegistry_CallerDoesNotHaveProxy.selector, users.alice) ); - changePrank({ msgSender: users.bob }); registry.installPlugin(plugins.empty); } diff --git a/test/registry/set-permission/setPermission.t.sol b/test/registry/set-permission/setPermission.t.sol index df80db5..b64e34d 100644 --- a/test/registry/set-permission/setPermission.t.sol +++ b/test/registry/set-permission/setPermission.t.sol @@ -8,9 +8,8 @@ import { Registry_Test } from "../Registry.t.sol"; contract SetPermission_Test is Registry_Test { function test_RevertWhen_CallerDoesNotHaveProxy() external { vm.expectRevert( - abi.encodeWithSelector(IPRBProxyRegistry.PRBProxyRegistry_CallerDoesNotHaveProxy.selector, users.bob) + abi.encodeWithSelector(IPRBProxyRegistry.PRBProxyRegistry_CallerDoesNotHaveProxy.selector, users.alice) ); - changePrank({ msgSender: users.bob }); registry.setPermission({ envoy: users.envoy, target: address(targets.basic), permission: true }); } diff --git a/test/registry/uninstall-plugin/uninstallPlugin.t.sol b/test/registry/uninstall-plugin/uninstallPlugin.t.sol index 090cbde..5fa200d 100644 --- a/test/registry/uninstall-plugin/uninstallPlugin.t.sol +++ b/test/registry/uninstall-plugin/uninstallPlugin.t.sol @@ -9,9 +9,8 @@ import { Registry_Test } from "../Registry.t.sol"; contract UninstallPlugin_Test is Registry_Test { function test_RevertWhen_CallerDoesNotHaveProxy() external { vm.expectRevert( - abi.encodeWithSelector(IPRBProxyRegistry.PRBProxyRegistry_CallerDoesNotHaveProxy.selector, users.bob) + abi.encodeWithSelector(IPRBProxyRegistry.PRBProxyRegistry_CallerDoesNotHaveProxy.selector, users.alice) ); - changePrank({ msgSender: users.bob }); registry.uninstallPlugin(plugins.empty); }