Skip to content

Commit

Permalink
Merge pull request #977 from UniqueNetwork/fix/gov-council-test
Browse files Browse the repository at this point in the history
test(gov): added neg votes
  • Loading branch information
CertainLach authored Sep 4, 2023
2 parents 3e9a8d1 + edf428e commit c6d53cc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/src/governance/council.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit c6d53cc

Please sign in to comment.