difftreelog
fix(rmrk) test
in: master
1 file changed
tests/src/rmrk/rmrk.test.tsdiffbeforeafterboth225 await expect(executeTransaction(api, alice, txChangeOwner), 'changing collection issuer')225 await expect(executeTransaction(api, alice, txChangeOwner), 'changing collection issuer')226 .to.be.rejectedWith(/rmrkCore\.CollectionUnknown/);226 .to.be.rejectedWith(/rmrkCore\.CollectionUnknown/);227227228 const maxBurns = 10;228 const txBurnItem = api.tx.rmrkCore.burnNft(collectionId, nftId);229 const txBurnItem = api.tx.rmrkCore.burnNft(collectionId, nftId, maxBurns);229 await expect(executeTransaction(api, alice, txBurnItem), 'burning NFT').to.be.rejectedWith(/rmrkCore\.CollectionUnknown/);230 await expect(executeTransaction(api, alice, txBurnItem), 'burning NFT').to.be.rejectedWith(/rmrkCore\.CollectionUnknown/);230 });231 });231 });232 });