aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-05-15 03:46:24 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-05-17 23:27:39 +0800
commite546f4b9041c03deb74ed115b8bcfe3869670b6e (patch)
treefb47a7065f1aa103a6ef375420d857d0ee1c6736
parent805c6158a4a7d764771f6480c94a950ecaf3bd8c (diff)
downloadtangerine-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
-rw-r--r--test/unit/metamask-controller-test.js2
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' },
})