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