diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-05-15 03:46:24 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-05-17 23:27:39 +0800 |
commit | e546f4b9041c03deb74ed115b8bcfe3869670b6e (patch) | |
tree | fb47a7065f1aa103a6ef375420d857d0ee1c6736 /test/unit | |
parent | 805c6158a4a7d764771f6480c94a950ecaf3bd8c (diff) | |
download | tangerine-wallet-browser-e546f4b9041c03deb74ed115b8bcfe3869670b6e.tar tangerine-wallet-browser-e546f4b9041c03deb74ed115b8bcfe3869670b6e.tar.gz tangerine-wallet-browser-e546f4b9041c03deb74ed115b8bcfe3869670b6e.tar.bz2 tangerine-wallet-browser-e546f4b9041c03deb74ed115b8bcfe3869670b6e.tar.lz tangerine-wallet-browser-e546f4b9041c03deb74ed115b8bcfe3869670b6e.tar.xz tangerine-wallet-browser-e546f4b9041c03deb74ed115b8bcfe3869670b6e.tar.zst tangerine-wallet-browser-e546f4b9041c03deb74ed115b8bcfe3869670b6e.zip |
Update MetaMaskController vault restoration test for new KC api
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/metamask-controller-test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/metamask-controller-test.js b/test/unit/metamask-controller-test.js index 18c3f9ab9..649b26e1e 100644 --- a/test/unit/metamask-controller-test.js +++ b/test/unit/metamask-controller-test.js @@ -106,7 +106,7 @@ describe('MetaMaskController', function () { [TEST_ADDRESS]: { address: TEST_ADDRESS, name: DEFAULT_LABEL }, }) - await metamaskController.keyringController.saveAccountLabel(TEST_ADDRESS, 'Account Foo') + await metamaskController.preferencesController.setAccountLabel(TEST_ADDRESS, 'Account Foo') assert.deepEqual(metamaskController.getState().identities, { [TEST_ADDRESS]: { address: TEST_ADDRESS, name: 'Account Foo' }, }) |