From 358440384c769c82fec148e7a24e3e4f6366b4b4 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 22 Nov 2016 16:07:35 -0800 Subject: [PATCH] Fix vault migration unit test --- test/unit/keyring-controller-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/keyring-controller-test.js b/test/unit/keyring-controller-test.js index 2d1064f40..a58043c7a 100644 --- a/test/unit/keyring-controller-test.js +++ b/test/unit/keyring-controller-test.js @@ -86,7 +86,7 @@ describe('KeyringController', function() { it('should return and init a new vault', function(done) { keyringController.migrateOldVaultIfAny(password) .then(() => { - assert(Boolean(localStorage['vault'])) + assert(keyringController.configManager.getVault(), 'now has a vault') done() }) .catch((reason) => {