Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
trizin authored Aug 17, 2023
1 parent 3d1c11e commit 571c9fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/unit/datatokens/ERC20Template3.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,8 @@ describe("ERC20Template3", () => {
let soonestEpochToPredict = await erc20Token.soonestEpochToPredict(await blocktimestamp());
const userAuth = await authorize(user2.address)
await expectRevert(erc20Token.connect(user2).getAggPredval(soonestEpochToPredict, userAuth), "predictions not closed");
await expectRevert(erc20Token.getTotalStake(soonestEpochToPredict), "predictions not closed");
const totalStake = await erc20Token.getTotalStake(soonestEpochToPredict);
expect(totalStake).to.be(0);

let curEpoch = await erc20Token.curEpoch();
const secondsPerEpoch = await erc20Token.secondsPerEpoch();
Expand Down

0 comments on commit 571c9fb

Please sign in to comment.