From 945a19bb61722ddb708ea8108e36d3fea7d03d52 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Sat, 10 Mar 2018 01:09:09 +0100 Subject: Fix a typo in tests --- packages/contracts/test/token_registry.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/contracts/test') 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; -- cgit v1.2.3