aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/actions/restore_vault_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/actions/restore_vault_test.js')
-rw-r--r--test/unit/actions/restore_vault_test.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/unit/actions/restore_vault_test.js b/test/unit/actions/restore_vault_test.js
index 5675028b1..609f5429e 100644
--- a/test/unit/actions/restore_vault_test.js
+++ b/test/unit/actions/restore_vault_test.js
@@ -21,7 +21,13 @@ describe('#recoverFromSeed(password, seed)', function() {
// stub out account manager
actions._setAccountManager({
- recoverFromSeed(pw, seed, cb) { cb(null, [{}, {}]) },
+ recoverFromSeed(pw, seed, cb) {
+ cb(null, {
+ identities: {
+ foo: 'bar'
+ }
+ })
+ },
})
it('sets metamask.isUnlocked to true', function() {