difftreelog
test(nft) check for name/symbol availability
in: master
1 file changed
tests/src/eth/nonFungible.test.tsdiffbeforeafterboth69 expect(owner).to.equal(caller);69 expect(owner).to.equal(caller);70 });70 });7172 itEth('name/symbol is available regardless of ERC721Metadata support', async ({helper}) => {73 const collection = await helper.nft.mintCollection(alice, {name: 'test', tokenPrefix: 'TEST'});74 const caller = helper.eth.createAccount();7576 const contract = helper.ethNativeContract.collectionById(collection.collectionId, 'nft', caller);7778 expect(await contract.methods.name().call()).to.equal('test');79 expect(await contract.methods.symbol().call()).to.equal('TEST');80 });71});81});728273describe('Check ERC721 token URI for NFT', () => {83describe('Check ERC721 token URI for NFT', () => {