Skip to content

Commit

Permalink
Unit test fix: check getPastVotes on coveragePool
Browse files Browse the repository at this point in the history
We should check getPastVotes on coveragePool and not on the
collateralToken - we are testing coveragePool behavior here.
  • Loading branch information
pdyraga committed Jan 26, 2022
1 parent d33dd78 commit 31d3af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/CoveragePool.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ describe("CoveragePool", () => {

it("should return zero", async () => {
expect(
await collateralToken.getPastVotes(
await coveragePool.getPastVotes(
thirdParty.address,
lastFinalizedBlock
)
Expand Down

0 comments on commit 31d3af2

Please sign in to comment.