Commit b3a86029 by chriseth Committed by Santiago Palladino

Use constructor arguments (#731)

parent 5ef85547
...@@ -34,7 +34,7 @@ contract('ERC827 Token', function (accounts) { ...@@ -34,7 +34,7 @@ contract('ERC827 Token', function (accounts) {
}); });
it('should return the correct allowance amount after approval', async function () { 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); await token.approve(accounts[1], 100);
let allowance = await token.allowance(accounts[0], accounts[1]); let allowance = await token.allowance(accounts[0], accounts[1]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment