aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-03 00:14:51 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-03 00:14:51 +0800
commit16c296be1461a3ccc76fbdf68e78d8c8ccd3ed83 (patch)
treec50e40fbc4b71c308b0c27699faca4fcdbf3c203 /test
parent199843718fba26db72db6196be5036339e0cf9f9 (diff)
downloaddexon-sol-tools-16c296be1461a3ccc76fbdf68e78d8c8ccd3ed83.tar
dexon-sol-tools-16c296be1461a3ccc76fbdf68e78d8c8ccd3ed83.tar.gz
dexon-sol-tools-16c296be1461a3ccc76fbdf68e78d8c8ccd3ed83.tar.bz2
dexon-sol-tools-16c296be1461a3ccc76fbdf68e78d8c8ccd3ed83.tar.lz
dexon-sol-tools-16c296be1461a3ccc76fbdf68e78d8c8ccd3ed83.tar.xz
dexon-sol-tools-16c296be1461a3ccc76fbdf68e78d8c8ccd3ed83.tar.zst
dexon-sol-tools-16c296be1461a3ccc76fbdf68e78d8c8ccd3ed83.zip
Add ZRX_TOKEN_NOT_IN_REGISTRY
Diffstat (limited to 'test')
-rw-r--r--test/utils/token_utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils/token_utils.ts b/test/utils/token_utils.ts
index 11d334619..3d2faa959 100644
--- a/test/utils/token_utils.ts
+++ b/test/utils/token_utils.ts
@@ -11,7 +11,7 @@ export class TokenUtils {
public getProtocolTokenOrThrow(): Token {
const zrxToken = _.find(this.tokens, {symbol: PROTOCOL_TOKEN_SYMBOL});
if (_.isUndefined(zrxToken)) {
- throw new Error(ZeroExError.CONTRACT_NOT_DEPLOYED_ON_NETWORK);
+ throw new Error(ZeroExError.ZRX_NOT_IN_TOKEN_REGISTRY);
}
return zrxToken;
}