--- a/tests/src/burnItem.test.ts +++ b/tests/src/burnItem.test.ts @@ -166,7 +166,7 @@ }); - it.only('Burn item in Fungible collection', async () => { + it('Burn item in Fungible collection', async () => { const createMode = 'Fungible'; const collectionId = await createCollectionExpectSuccess({mode: {type: createMode, decimalPoints: 0 }}); const tokenId = await createItemExpectSuccess(alice, collectionId, createMode); // Helper creates 10 fungible tokens @@ -174,7 +174,7 @@ await usingApi(async (api) => { // Destroy 1 of 10 - const tx = api.tx.nft.burnFrom(collectionId, alice.address, tokenId, 1); + const tx = api.tx.nft.burnFrom(collectionId, normalizeAccountId(alice.address), tokenId, 1); const events = await submitTransactionAsync(bob, tx); const result = getGenericResult(events); @@ -188,14 +188,14 @@ }); }); - it.only('Burn item in ReFungible collection', async () => { + it('Burn item in ReFungible collection', async () => { const createMode = 'ReFungible'; const collectionId = await createCollectionExpectSuccess({mode: {type: createMode }}); const tokenId = await createItemExpectSuccess(alice, collectionId, createMode); await addCollectionAdminExpectSuccess(alice, collectionId, bob); await usingApi(async (api) => { - const tx = api.tx.nft.burnFrom(collectionId, alice.address, tokenId, 100); + const tx = api.tx.nft.burnFrom(collectionId, normalizeAccountId(alice.address), tokenId, 100); const events = await submitTransactionAsync(bob, tx); const result = getGenericResult(events); // Get alice balance