Skip to content

Commit

Permalink
test: remove ignored pranks
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulRBerg committed Jul 5, 2023
1 parent 71aa9e4 commit 2d678c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions test/registry/install-plugin/installPlugin.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
3 changes: 1 addition & 2 deletions test/registry/set-permission/setPermission.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}

Expand Down
3 changes: 1 addition & 2 deletions test/registry/uninstall-plugin/uninstallPlugin.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 2d678c4

Please sign in to comment.