Browse Source

Improve testing for ERC20Snapshot (#2331)

Julian M. Rodriguez 5 năm trước cách đây
mục cha
commit
b1ea59e814
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      test/token/ERC20/ERC20Snapshot.test.js

+ 1 - 1
test/token/ERC20/ERC20Snapshot.test.js

@@ -134,7 +134,7 @@ describe('ERC20Snapshot', function () {
       context('with balance changes after the snapshot', function () {
         beforeEach(async function () {
           await this.token.transfer(recipient, new BN('10'), { from: initialHolder });
-          await this.token.mint(recipient, new BN('50'));
+          await this.token.mint(other, new BN('50'));
           await this.token.burn(initialHolder, new BN('20'));
         });