Browse Source

Use constructor arguments (#731)

chriseth 7 years ago
parent
commit
b3a8602928
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/token/ERC827/ERC827Token.js

+ 1 - 1
test/token/ERC827/ERC827Token.js

@@ -34,7 +34,7 @@ contract('ERC827 Token', function (accounts) {
   });
 
   it('should return the correct allowance amount after approval', async function () {
-    let token = await ERC827TokenMock.new();
+    let token = await ERC827TokenMock.new(accounts[0], 100);
     await token.approve(accounts[1], 100);
     let allowance = await token.allowance(accounts[0], accounts[1]);