1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 17:33:23 +01:00

Fix nickname test

This commit is contained in:
Dan Finlay 2016-11-07 12:19:56 -08:00
parent 7b420c6e15
commit 798e057854

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)