Improve ERC721 Wrapper tests (#4039)
This commit is contained in:
@ -196,11 +196,21 @@ contract('ERC721Wrapper', function (accounts) {
|
||||
to: initialHolder,
|
||||
tokenId: firstTokenId,
|
||||
});
|
||||
await expectEvent.inTransaction(tx, this.underlying, 'Transfer', {
|
||||
from: this.token.address,
|
||||
to: initialHolder,
|
||||
tokenId: secondTokenId,
|
||||
});
|
||||
await expectEvent.inTransaction(tx, this.token, 'Transfer', {
|
||||
from: initialHolder,
|
||||
to: constants.ZERO_ADDRESS,
|
||||
tokenId: firstTokenId,
|
||||
});
|
||||
await expectEvent.inTransaction(tx, this.token, 'Transfer', {
|
||||
from: initialHolder,
|
||||
to: constants.ZERO_ADDRESS,
|
||||
tokenId: secondTokenId,
|
||||
});
|
||||
});
|
||||
|
||||
it('works to another account', async function () {
|
||||
|
||||
Reference in New Issue
Block a user