Skip to content

Commit 31d3af2

Browse files
committed
Unit test fix: check getPastVotes on coveragePool
We should check getPastVotes on coveragePool and not on the collateralToken - we are testing coveragePool behavior here.
1 parent d33dd78 commit 31d3af2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/CoveragePool.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ describe("CoveragePool", () => {
488488

489489
it("should return zero", async () => {
490490
expect(
491-
await collateralToken.getPastVotes(
491+
await coveragePool.getPastVotes(
492492
thirdParty.address,
493493
lastFinalizedBlock
494494
)

0 commit comments

Comments
 (0)