From edf428e3bec27c1a9d1ecf06d51a93383c6e1210 Mon Sep 17 00:00:00 2001 From: PraetorP Date: Mon, 4 Sep 2023 16:15:09 +0700 Subject: [PATCH] test(gov): added neg votes --- tests/src/governance/council.test.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/src/governance/council.test.ts b/tests/src/governance/council.test.ts index 130b32d33f..952eaae6c0 100644 --- a/tests/src/governance/council.test.ts +++ b/tests/src/governance/council.test.ts @@ -117,6 +117,16 @@ describeGov('Governance: Council tests', () => { }, }); + await helper.democracy.vote(counselors.charu, democracyReferendumIndex, { + Standard: { + vote: { + aye: false, + conviction: 1, + }, + balance: 50_000n, + }, + }); + const passedReferendumEvent = await helper.wait.expectEvent(democracyVotingPeriod, Event.Democracy.Passed); expect(passedReferendumEvent.referendumIndex).to.be.equal(democracyReferendumIndex);