Fix a typo in tests

This commit is contained in:
Leonid Logvinov
2018-03-10 01:09:09 +01:00
parent b0abc384bc
commit 945a19bb61

View File

@@ -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;