diff options
Diffstat (limited to 'packages/contracts')
-rw-r--r-- | packages/contracts/test/token_registry.ts | 4 |
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; |