diff --git a/test/InterchainTokenFactory.js b/test/InterchainTokenFactory.js index af0728c3..be4f62a0 100644 --- a/test/InterchainTokenFactory.js +++ b/test/InterchainTokenFactory.js @@ -232,7 +232,7 @@ describe('InterchainTokenFactory', () => { await checkRoles(tokenManager, minter); }); - it('Should register a token if the mint amount is zero and minter is the zero address', async () => { + it('Should revert when trying to register a token if the mint amount is zero and minter is the zero address', async () => { const salt = keccak256('0x123456'); tokenId = await tokenFactory.interchainTokenId(wallet.address, salt); diff --git a/test/InterchainTokenService.js b/test/InterchainTokenService.js index 2dc561c3..2cb75946 100644 --- a/test/InterchainTokenService.js +++ b/test/InterchainTokenService.js @@ -909,13 +909,13 @@ describe('Interchain Token Service', () => { ); }); - it('Should revert on deploying a token manager with an empty token', async () => { + it('Should revert on deploying a token manager if token handler post deploy fails', async () => { const params = defaultAbiCoder.encode(['bytes', 'address'], [wallet.address, AddressZero]); await expectRevert( (gasOptions) => service.deployTokenManager(salt, '', LOCK_UNLOCK, params, 0, gasOptions), service, - 'TokenManagerDeploymentFailed', + 'PostDeployFailed', ); });