Skip to content

Commit

Permalink
test: use createNewVaultAndRestore from core
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesposito committed Aug 1, 2023
1 parent a645ba3 commit 285c2fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/scripts/metamask-controller.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ describe('MetaMaskController', function () {
'createNewVaultAndKeychain',
);
sandbox.spy(
metamaskController.keyringController,
metamaskController.coreKeyringController,
'createNewVaultAndRestore',
);
});
Expand Down Expand Up @@ -418,7 +418,7 @@ describe('MetaMaskController', function () {
await metamaskController.createNewVaultAndRestore(password, TEST_SEED);

assert(
metamaskController.keyringController.createNewVaultAndRestore
metamaskController.coreKeyringController.createNewVaultAndRestore
.calledTwice,
);
});
Expand Down

0 comments on commit 285c2fb

Please sign in to comment.