aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-11-08 04:19:56 +0800
committerDan Finlay <dan@danfinlay.com>2016-11-08 04:19:56 +0800
commit798e0578541bbcb9c716a91086089f8c9d672f2e (patch)
treed118c7c440a2af1d1261602d0ed67462f69e8fbb
parent7b420c6e15e08db3f571770c3e9965f7f4e3689e (diff)
downloadtangerine-wallet-browser-798e0578541bbcb9c716a91086089f8c9d672f2e.tar
tangerine-wallet-browser-798e0578541bbcb9c716a91086089f8c9d672f2e.tar.gz
tangerine-wallet-browser-798e0578541bbcb9c716a91086089f8c9d672f2e.tar.bz2
tangerine-wallet-browser-798e0578541bbcb9c716a91086089f8c9d672f2e.tar.lz
tangerine-wallet-browser-798e0578541bbcb9c716a91086089f8c9d672f2e.tar.xz
tangerine-wallet-browser-798e0578541bbcb9c716a91086089f8c9d672f2e.tar.zst
tangerine-wallet-browser-798e0578541bbcb9c716a91086089f8c9d672f2e.zip
Fix nickname test
-rw-r--r--test/unit/keyring-controller-test.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/keyring-controller-test.js b/test/unit/keyring-controller-test.js
index 2c49444e3..5f055e9ee 100644
--- a/test/unit/keyring-controller-test.js
+++ b/test/unit/keyring-controller-test.js
@@ -110,6 +110,7 @@ describe('KeyringController', function() {
it ('sets the nickname', function() {
const account = addresses[0]
var nick = 'Test nickname'
+ keyringController.identities[ethUtil.addHexPrefix(account)] = {}
const label = keyringController.saveAccountLabel(account, nick)
assert.equal(label, nick)