Use constructor arguments (#731)

This commit is contained in:
chriseth
2018-02-26 22:24:19 +01:00
committed by Santiago Palladino
parent 5ef8554727
commit b3a8602928

View File

@ -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]);