Skip to content

Commit 49d6706

Browse files
committed
test(backend): fix wrong assertion
#80
1 parent 7196013 commit 49d6706

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

backend/hardhat-gas-report.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
···································|·················|···············|·················|················|···············
1414
| updateOwner · - · - · 31,213 · 1 · - │
1515
···································|·················|···············|·················|················|···············
16+
| updateQueueHandler · - · - · 50,280 · 1 · - │
17+
···································|·················|···············|·················|················|···············
1618
| DistributionVerifier · │
1719
···································|·················|···············|·················|················|···············
1820
| updateOwner · - · - · 27,973 · 1 · - │

backend/test/DistributionQueue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe("DistributionQueue", function () {
4444
it("Should change the queue handler", async function () {
4545
const { distributionQueue, account1, account2 } = await loadFixture(deployFixture);
4646

47-
expect(await distributionQueue.queueHandler()).to.equal(account1.address);
47+
expect(await distributionQueue.queueHandler()).to.equal(ethers.ZeroAddress);
4848
await distributionQueue.updateQueueHandler(account2.address);
4949
expect(await distributionQueue.queueHandler()).to.equal(account2.address);
5050
});

0 commit comments

Comments
 (0)