Skip to content

Commit

Permalink
Fix error message in test
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Sep 22, 2020
1 parent 4b5e6be commit 2fdcbc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/account.access_key.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ test('remove access key no longer works', async() => {
await contract.setValue({value: 'test'});
fail('should throw an error');
} catch (e) {
expect(e.message).toEqual(`Can not sign transactions for account ${workingAccount.accountId}, no matching key pair found in Signer.`);
expect(e.message).toEqual(`Can not sign transactions for account ${workingAccount.accountId} on network unittest, no matching key pair found in InMemorySigner(InMemoryKeyStore).`);
expect(e.type).toEqual('KeyNotFound');
}
});
Expand Down

0 comments on commit 2fdcbc7

Please sign in to comment.