aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/exchange/helpers.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-28 05:51:12 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-28 06:42:49 +0800
commitb6a133cc641617bd1099ec00c62a749f548316b7 (patch)
treec230cabe28d467a9b4299c6b57b299d4152bd645 /packages/contracts/test/exchange/helpers.ts
parent7aa070f9eaef734274df6e6eaa4590fe30d52899 (diff)
downloaddexon-sol-tools-b6a133cc641617bd1099ec00c62a749f548316b7.tar
dexon-sol-tools-b6a133cc641617bd1099ec00c62a749f548316b7.tar.gz
dexon-sol-tools-b6a133cc641617bd1099ec00c62a749f548316b7.tar.bz2
dexon-sol-tools-b6a133cc641617bd1099ec00c62a749f548316b7.tar.lz
dexon-sol-tools-b6a133cc641617bd1099ec00c62a749f548316b7.tar.xz
dexon-sol-tools-b6a133cc641617bd1099ec00c62a749f548316b7.tar.zst
dexon-sol-tools-b6a133cc641617bd1099ec00c62a749f548316b7.zip
Improve an error message when an inorrect number of constructor params is passed
Diffstat (limited to 'packages/contracts/test/exchange/helpers.ts')
-rw-r--r--packages/contracts/test/exchange/helpers.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/contracts/test/exchange/helpers.ts b/packages/contracts/test/exchange/helpers.ts
index 9869c2155..625234729 100644
--- a/packages/contracts/test/exchange/helpers.ts
+++ b/packages/contracts/test/exchange/helpers.ts
@@ -39,9 +39,9 @@ describe('Exchange', () => {
const tokenRegistry = await deployer.deployAsync(ContractName.TokenRegistry);
const tokenTransferProxy = await deployer.deployAsync(ContractName.TokenTransferProxy);
const [rep, dgd, zrx] = await Promise.all([
- deployer.deployAsync(ContractName.DummyToken),
- deployer.deployAsync(ContractName.DummyToken),
- deployer.deployAsync(ContractName.DummyToken),
+ deployer.deployAsync(ContractName.DummyToken, constants.DUMMY_TOKEN_ARGS),
+ deployer.deployAsync(ContractName.DummyToken, constants.DUMMY_TOKEN_ARGS),
+ deployer.deployAsync(ContractName.DummyToken, constants.DUMMY_TOKEN_ARGS),
]);
const exchangeInstance = await deployer.deployAsync(ContractName.Exchange, [
zrx.address,