Skip to content

Commit d005e16

Browse files
committed
Extend test to assert owner can still unpause
1 parent f28edcc commit d005e16

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

evm/test/NttManager.t.sol

+6
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,12 @@ contract TestNttManager is Test, IRateLimiterEvents {
246246
abi.encodeWithSelector(OwnableUpgradeable.OwnableUnauthorizedAccount.selector, pauser)
247247
);
248248
nttManager.unpause();
249+
250+
// execute from owner context
251+
// ensures that owner can still unpause
252+
vm.startPrank(address(this));
253+
nttManager.unpause();
254+
assertEq(nttManager.isPaused(), false);
249255
}
250256

251257
// === deployment with invalid token

0 commit comments

Comments
 (0)