From 9f988c02ff53f35cf0a973009631c955c1d89cc1 Mon Sep 17 00:00:00 2001 From: Michael Heuer Date: Tue, 9 Apr 2024 14:16:06 +0200 Subject: [PATCH] fix: broken test --- .../test/10_unit-testing/token-voting/11_token-voting.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/contracts/test/10_unit-testing/token-voting/11_token-voting.ts b/packages/contracts/test/10_unit-testing/token-voting/11_token-voting.ts index a56adeb1..3a67e65e 100644 --- a/packages/contracts/test/10_unit-testing/token-voting/11_token-voting.ts +++ b/packages/contracts/test/10_unit-testing/token-voting/11_token-voting.ts @@ -683,6 +683,7 @@ describe('TokenVoting', function () { await token.connect(alice).delegate(bob.address); // Check that Alice can create a proposal although she delegated to Bob. + const endDate = (await time.latest()) + TIME.DAY; const tx = await plugin .connect(alice) .createProposal(