From 6259e13a0c92547646f1dd1764583e86bb997441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernesto=20Garc=C3=ADa?= Date: Thu, 9 Feb 2023 15:36:14 -0600 Subject: [PATCH] Improve ERC721 Wrapper tests (#4039) --- test/token/ERC721/extensions/ERC721Wrapper.test.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/token/ERC721/extensions/ERC721Wrapper.test.js b/test/token/ERC721/extensions/ERC721Wrapper.test.js index 5c83d73cc..def6ca7ee 100644 --- a/test/token/ERC721/extensions/ERC721Wrapper.test.js +++ b/test/token/ERC721/extensions/ERC721Wrapper.test.js @@ -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 () {