diff --git a/test/TestContractHandler.ts b/test/TestContractHandler.ts index 12a3b30e..2ce4cf26 100644 --- a/test/TestContractHandler.ts +++ b/test/TestContractHandler.ts @@ -50,7 +50,7 @@ export interface Addresses { opfCommunityFeeCollectorAddress: string poolTemplateAddress: string erc20TemplateAddress: string - erc721TemplateAddress: string + nftTemplateAddress: string oceanAddress: string routerAddress: string sideStakingAddress: string @@ -99,7 +99,7 @@ export const deployContracts = async (web3: Web3, owner: string): Promise { it('#getNFTTemplate - should return NFT template struct', async () => { const nftTemplate = await nftFactory.getNFTTemplate(1) assert(nftTemplate.isActive === true) - assert(nftTemplate.templateAddress === contracts.erc721TemplateAddress) + assert(nftTemplate.templateAddress === contracts.nftTemplateAddress) }) it('#getTokenTemplate - should return Token template struct', async () => { @@ -328,7 +328,7 @@ describe('Nft Factory test', () => { it('#addNFTTemplate - should add a new erc721 token template', async () => { const currentNFTTemplateCount = await nftFactory.getCurrentNFTTemplateCount() - await nftFactory.addNFTTemplate(factoryOwner, contracts.erc721TemplateAddress) + await nftFactory.addNFTTemplate(factoryOwner, contracts.nftTemplateAddress) expect( (await nftFactory.getCurrentNFTTemplateCount()) === currentNFTTemplateCount + 1