Commit 820c230c authored by Mark Tyneway's avatar Mark Tyneway

contracts-bedrock: fix test names

parent b296f5b5
This diff is collapsed.
...@@ -42,7 +42,7 @@ contract OptimismPortal_Test is Portal_Initializer { ...@@ -42,7 +42,7 @@ contract OptimismPortal_Test is Portal_Initializer {
* @notice The OptimismPortal reverts when an account that is not the * @notice The OptimismPortal reverts when an account that is not the
* GUARDIAN calls `pause()` * GUARDIAN calls `pause()`
*/ */
function test_pause_onlyOwner_reverts() external { function test_pause_onlyGuardian_reverts() external {
assertEq(op.paused(), false); assertEq(op.paused(), false);
assertTrue(op.GUARDIAN() != alice); assertTrue(op.GUARDIAN() != alice);
...@@ -75,7 +75,7 @@ contract OptimismPortal_Test is Portal_Initializer { ...@@ -75,7 +75,7 @@ contract OptimismPortal_Test is Portal_Initializer {
* @notice The OptimismPortal reverts when an account that is not * @notice The OptimismPortal reverts when an account that is not
* the GUARDIAN calls `unpause()` * the GUARDIAN calls `unpause()`
*/ */
function test_unpause_onlyOwner_reverts() external { function test_unpause_onlyGuardian_reverts() external {
address guardian = op.GUARDIAN(); address guardian = op.GUARDIAN();
vm.prank(guardian); vm.prank(guardian);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment