diff --git a/app/scripts/metamask-controller.test.js b/app/scripts/metamask-controller.test.js index 02d7b1f50ff4..e15ce5593942 100644 --- a/app/scripts/metamask-controller.test.js +++ b/app/scripts/metamask-controller.test.js @@ -302,7 +302,7 @@ describe('MetaMaskController', function () { 'createNewVaultAndKeychain', ); sandbox.spy( - metamaskController.keyringController, + metamaskController.coreKeyringController, 'createNewVaultAndRestore', ); }); @@ -418,7 +418,7 @@ describe('MetaMaskController', function () { await metamaskController.createNewVaultAndRestore(password, TEST_SEED); assert( - metamaskController.keyringController.createNewVaultAndRestore + metamaskController.coreKeyringController.createNewVaultAndRestore .calledTwice, ); });