Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zajck committed Jan 9, 2024
1 parent 5a883f4 commit 1809806
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/protocol/PriceDiscoveryHandlerFacet.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ describe("IPriceDiscoveryHandlerFacet", function () {
it("Deployment fails if wrapped native address is 0", async function () {
const priceDiscoveryFactory = await getContractFactory("PriceDiscoveryHandlerFacet");

await expect(priceDiscoveryFactory.deploy(ZeroAddress, 0)).to.revertedWithCustomError(
await expect(priceDiscoveryFactory.deploy(ZeroAddress)).to.revertedWithCustomError(
bosonErrors,
RevertReasons.INVALID_ADDRESS
);
Expand Down
2 changes: 1 addition & 1 deletion test/protocol/SequentialCommitHandlerTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ describe("IBosonSequentialCommitHandler", function () {
it("Deployment fails if wrapped native address is 0", async function () {
const sequentialCommitFactory = await getContractFactory("SequentialCommitHandlerFacet");

await expect(sequentialCommitFactory.deploy(ZeroAddress, 0)).to.revertedWithCustomError(
await expect(sequentialCommitFactory.deploy(ZeroAddress)).to.revertedWithCustomError(
bosonErrors,
RevertReasons.INVALID_ADDRESS
);
Expand Down

0 comments on commit 1809806

Please sign in to comment.