Fixed nft transfer ID.

This commit is contained in:
Maria Carmina 2023-04-25 19:43:49 +03:00
parent 360881d910
commit ebf2facaf9
1 changed files with 3 additions and 1 deletions

View File

@ -144,7 +144,9 @@ describe('Tests coverage without provider/aquarius', async () => {
assert(queryResult.data.nft.owner.id === newOwnerAccount)
assert(
transferHistory.id ===
`${nftAddress}-${tx.transactionHash}-${tx.events.Transfer.logIndex}`,
`${nftAddress}-${
tx.transactionHash
}-${tx.events.Transfer.logIndex.toFixed(1)}`,
'Invalid transferHistory Id'
)
assert(transferHistory.txId === tx.transactionHash, 'invalid txId')