From 798e0578541bbcb9c716a91086089f8c9d672f2e Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Mon, 7 Nov 2016 12:19:56 -0800 Subject: [PATCH] Fix nickname test --- test/unit/keyring-controller-test.js | 1 + 1 file changed, 1 insertion(+) 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)