1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

add previously deleted assert

This commit is contained in:
Miquel A. Cabot 2022-04-13 16:09:04 +02:00
parent 4b96497089
commit 8f20f4b808

View File

@ -288,6 +288,9 @@ describe('NFT', () => {
assert((await nftDatatoken.getNftOwner(nftAddress)) === nftOwner)
await nftDatatoken.transferNft(nftAddress, nftOwner, user1, 1)
assert((await nftDatatoken.getNftOwner(nftAddress)) === user1)
assert((await nftDatatoken.isErc20Deployer(nftAddress, nftOwner)) === false)
assert((await nftDatatoken.isErc20Deployer(nftAddress, user2)) === false)
})
// Safe transfer test