From ceace71bf5989eb8137d7f0617a85ccaa92dce30 Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Thu, 8 Aug 2019 17:03:10 -0230 Subject: Remove unused lostAccounts state (#6979) --- test/data/2-state.json | 3 +-- test/unit/app/controllers/metamask-controller-test.js | 8 -------- 2 files changed, 1 insertion(+), 10 deletions(-) (limited to 'test') diff --git a/test/data/2-state.json b/test/data/2-state.json index d41a403ff..fe1d15cc1 100644 --- a/test/data/2-state.json +++ b/test/data/2-state.json @@ -64,7 +64,6 @@ "noActiveNotices": true, "shapeShiftTxList": [], "infuraNetworkStatus": {}, - "lostAccounts": [], "seedWords": "debris dizzy just program just float decrease vacant alarm reduce speak stadium", "forgottenPassword": null -} \ No newline at end of file +} diff --git a/test/unit/app/controllers/metamask-controller-test.js b/test/unit/app/controllers/metamask-controller-test.js index effd7c0ce..4f642037a 100644 --- a/test/unit/app/controllers/metamask-controller-test.js +++ b/test/unit/app/controllers/metamask-controller-test.js @@ -758,14 +758,6 @@ describe('MetaMaskController', function () { }) }) - describe('#markAccountsFound', function () { - it('adds lost accounts to config manager data', function () { - metamaskController.markAccountsFound(noop) - const state = metamaskController.getState() - assert.deepEqual(state.lostAccounts, []) - }) - }) - describe('#markPasswordForgotten', function () { it('adds and sets forgottenPassword to config data to true', function () { metamaskController.markPasswordForgotten(noop) -- cgit