aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/unlimited_allowance_token.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-08 17:25:31 +0800
committerGitHub <noreply@github.com>2018-03-08 17:25:31 +0800
commit03902b0b26fe443705dde20c42e78e1cb4bd3c4b (patch)
treec1e1dc826d7b1bf9b02af717200ec221246d6263 /packages/contracts/test/unlimited_allowance_token.ts
parent883feabb8b0f9470ae2bd1713b929c220fdfae95 (diff)
parentbab8c1eeff287a5dd90754c3391fd702d974d9d6 (diff)
downloaddexon-sol-tools-03902b0b26fe443705dde20c42e78e1cb4bd3c4b.tar
dexon-sol-tools-03902b0b26fe443705dde20c42e78e1cb4bd3c4b.tar.gz
dexon-sol-tools-03902b0b26fe443705dde20c42e78e1cb4bd3c4b.tar.bz2
dexon-sol-tools-03902b0b26fe443705dde20c42e78e1cb4bd3c4b.tar.lz
dexon-sol-tools-03902b0b26fe443705dde20c42e78e1cb4bd3c4b.tar.xz
dexon-sol-tools-03902b0b26fe443705dde20c42e78e1cb4bd3c4b.tar.zst
dexon-sol-tools-03902b0b26fe443705dde20c42e78e1cb4bd3c4b.zip
Merge pull request #419 from 0xProject/fix/deployer-args
Improve an error message when an incorrect number of constructor param…
Diffstat (limited to 'packages/contracts/test/unlimited_allowance_token.ts')
-rw-r--r--packages/contracts/test/unlimited_allowance_token.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/test/unlimited_allowance_token.ts b/packages/contracts/test/unlimited_allowance_token.ts
index 03eb581ad..553178d80 100644
--- a/packages/contracts/test/unlimited_allowance_token.ts
+++ b/packages/contracts/test/unlimited_allowance_token.ts
@@ -34,7 +34,7 @@ describe('UnlimitedAllowanceToken', () => {
const accounts = await web3Wrapper.getAvailableAddressesAsync();
owner = accounts[0];
spender = accounts[1];
- const tokenInstance = await deployer.deployAsync(ContractName.DummyToken);
+ const tokenInstance = await deployer.deployAsync(ContractName.DummyToken, constants.DUMMY_TOKEN_ARGS);
token = new DummyTokenContract(web3Wrapper, tokenInstance.abi, tokenInstance.address);
await token.mint.sendTransactionAsync(MAX_MINT_VALUE, { from: owner });
tokenAddress = token.address;