Skip to content

Commit 7e014ee

Browse files
authored
Fix v5.2 testing (#5339)
1 parent e5e9ff7 commit 7e014ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/governance/extensions/GovernorCountingOverridable.test.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,9 @@ describe('GovernorCountingOverridable', function () {
269269
});
270270

271271
it('can not vote twice', async function () {
272-
await expect(this.mock.connect(this.voter1).castVote(this.helper.id, VoteType.Against));
272+
await expect(this.mock.connect(this.voter1).castVote(this.helper.id, VoteType.Against))
273+
.to.emit(this.mock, 'VoteCast')
274+
.withArgs(this.voter1, this.helper.id, VoteType.Against, ethers.parseEther('5'), '');
273275
await expect(this.mock.connect(this.voter1).castVote(this.helper.id, VoteType.Abstain))
274276
.to.be.revertedWithCustomError(this.mock, 'GovernorAlreadyCastVote')
275277
.withArgs(this.voter1.address);

0 commit comments

Comments
 (0)