diff --git a/test/Gov.t.sol b/test/Gov.t.sol index 04b1f83..6cd5d09 100644 --- a/test/Gov.t.sol +++ b/test/Gov.t.sol @@ -1161,6 +1161,14 @@ contract GovTest is NounsBuilderTest, GovernorTypesV1 { mock1155.mintBatch(address(governor), _tokenIds, _amounts); } + function testRevert_GovernorOnlyDAOWithReserveCanAddDelay() public { + deployMock(); + + vm.prank(founder); + vm.expectRevert(abi.encodeWithSignature("CANNOT_DELAY_GOVERNANCE()")); + governor.updateDelayedGovernanceExpirationTimestamp(1 days); + } + function testRevert_GovernorOnlyTokenOwnerCanSetDelay() public { deployMock(); @@ -1180,6 +1188,9 @@ contract GovTest is NounsBuilderTest, GovernorTypesV1 { function testRevert_GovernorCannotSetDelayAfterTokensAreMinted() public { deployMock(); + vm.prank(founder); + token.setReservedUntilTokenId(4); + vm.prank(founder); auction.unpause();