From 5dadd6874935955a61f8ae172f97925affdea9c4 Mon Sep 17 00:00:00 2001 From: Wayne Date: Wed, 21 Jun 2023 07:21:48 -1000 Subject: [PATCH] fix test --- test/QuestFactory.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/QuestFactory.spec.ts b/test/QuestFactory.spec.ts index de7e9747..ad936727 100644 --- a/test/QuestFactory.spec.ts +++ b/test/QuestFactory.spec.ts @@ -491,7 +491,7 @@ describe('QuestFactory', () => { newQuestNFTAddress = event.args.newQuestNFT } }) - expect(await deployedFactoryContract.ownerCollectionCount(owner.address)).to.equal(1) + expect(await deployedFactoryContract.ownerCollectionsByOwner(owner.address)).to.eql([newQuestNFTAddress]) expect(await deployedFactoryContract.ownerCollections(owner.address, 0)).to.equal(newQuestNFTAddress) }) })