aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-05-18 00:05:38 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-05-18 00:05:38 +0800
commit67310e151ea75c7aa4fc00bfd63bf41cd4f2db51 (patch)
tree244a582ed826747cf48d8aad9a4a3f3a18991b66 /test
parente546f4b9041c03deb74ed115b8bcfe3869670b6e (diff)
downloadtangerine-wallet-browser-67310e151ea75c7aa4fc00bfd63bf41cd4f2db51.tar
tangerine-wallet-browser-67310e151ea75c7aa4fc00bfd63bf41cd4f2db51.tar.gz
tangerine-wallet-browser-67310e151ea75c7aa4fc00bfd63bf41cd4f2db51.tar.bz2
tangerine-wallet-browser-67310e151ea75c7aa4fc00bfd63bf41cd4f2db51.tar.lz
tangerine-wallet-browser-67310e151ea75c7aa4fc00bfd63bf41cd4f2db51.tar.xz
tangerine-wallet-browser-67310e151ea75c7aa4fc00bfd63bf41cd4f2db51.tar.zst
tangerine-wallet-browser-67310e151ea75c7aa4fc00bfd63bf41cd4f2db51.zip
Fix migration 026 to produce the correct shape for state.identities
Diffstat (limited to 'test')
-rw-r--r--test/unit/migrations/026-test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/migrations/026-test.js b/test/unit/migrations/026-test.js
index ac0da3fb2..b3f5470cf 100644
--- a/test/unit/migrations/026-test.js
+++ b/test/unit/migrations/026-test.js
@@ -19,8 +19,8 @@ describe('migration #26', () => {
.then((newStorage) => {
const identities = newStorage.data.PreferencesController.identities
assert.deepEqual(identities, {
- '0x1e77e2': 'Test Account 1',
- '0x7e57e2': 'Test Account 2',
+ '0x1e77e2': {name: 'Test Account 1', address: '0x1e77e2'},
+ '0x7e57e2': {name: 'Test Account 2', address: '0x7e57e2'},
})
assert.strictEqual(newStorage.data.KeyringController.walletNicknames, undefined)
done()