Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Infoless deploy test timestamp test #172

Open
wants to merge 1 commit into
base: infoless_deploy_test
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/DssSpell.t.base.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,7 @@ contract DssSpellTestBase is Config, DssTest {
assertEq(_stringToBytes32(spell.description()),
_stringToBytes32(description), "TestError/spell-description");

assertEq(spell.expiration(), block.timestamp + spellValues.expiration_threshold, "TestError/spell-expiration");
assertLe(spell.expiration(), block.timestamp + spellValues.expiration_threshold, "TestError/spell-expiration");

assertTrue(spell.officeHours() == spellValues.office_hours_enabled, "TestError/spell-office-hours");

Expand Down