Fix nickname test

This commit is contained in:
Dan Finlay 2016-11-07 12:19:56 -08:00
parent 7b420c6e15
commit 798e057854
1 changed files with 1 additions and 0 deletions

View File

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