aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-10 08:09:09 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-12 10:37:30 +0800
commit945a19bb61722ddb708ea8108e36d3fea7d03d52 (patch)
treed5d357d82b0cb688752f83854c6187cb28d769dd /packages
parentb0abc384bccf34e89531d9567288eacd24b125d6 (diff)
downloaddexon-sol-tools-945a19bb61722ddb708ea8108e36d3fea7d03d52.tar.gz
dexon-sol-tools-945a19bb61722ddb708ea8108e36d3fea7d03d52.tar.zst
dexon-sol-tools-945a19bb61722ddb708ea8108e36d3fea7d03d52.zip
Fix a typo in tests
Diffstat (limited to 'packages')
-rw-r--r--packages/contracts/test/token_registry.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/test/token_registry.ts b/packages/contracts/test/token_registry.ts
index b3a420d31..5313ec1b1 100644
--- a/packages/contracts/test/token_registry.ts
+++ b/packages/contracts/test/token_registry.ts
@@ -177,8 +177,8 @@ describe('TokenRegistry', () => {
it('should change the token symbol when called by owner', async () => {
await tokenReg.setTokenSymbol.sendTransactionAsync(token1.address, token2.symbol, { from: owner });
- const newData = await tokenRegWrapper.getTokenByNameAsync(token2.name);
- const oldData = await tokenRegWrapper.getTokenByNameAsync(token1.name);
+ const newData = await tokenRegWrapper.getTokenBySymbolAsync(token2.symbol);
+ const oldData = await tokenRegWrapper.getTokenBySymbolAsync(token1.symbol);
const expectedNewData = _.assign({}, token1, { symbol: token2.symbol });
const expectedOldData = nullToken;