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) => {