diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-09-23 05:19:14 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-09-23 05:19:14 +0800 |
commit | f128240e7f877280fa59bf22f2ea8285bb467022 (patch) | |
tree | 2baa201501e31fdb9d1cb743fe8c4024e038904e /test | |
parent | 128cf40f91df6d78e2d5ca87608fe16e91a510fa (diff) | |
download | tangerine-wallet-browser-f128240e7f877280fa59bf22f2ea8285bb467022.tar tangerine-wallet-browser-f128240e7f877280fa59bf22f2ea8285bb467022.tar.gz tangerine-wallet-browser-f128240e7f877280fa59bf22f2ea8285bb467022.tar.bz2 tangerine-wallet-browser-f128240e7f877280fa59bf22f2ea8285bb467022.tar.lz tangerine-wallet-browser-f128240e7f877280fa59bf22f2ea8285bb467022.tar.xz tangerine-wallet-browser-f128240e7f877280fa59bf22f2ea8285bb467022.tar.zst tangerine-wallet-browser-f128240e7f877280fa59bf22f2ea8285bb467022.zip |
Fix test references
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/keyring-controller-test.js | 2 | ||||
-rw-r--r-- | test/unit/tx-controller-test.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/keyring-controller-test.js b/test/unit/keyring-controller-test.js index 2d9a53723..34c314639 100644 --- a/test/unit/keyring-controller-test.js +++ b/test/unit/keyring-controller-test.js @@ -24,7 +24,7 @@ describe('KeyringController', function () { getTxList: () => [], getUnapprovedTxList: () => [], }, - ethStore: { + accountTracker: { addAccount (acct) { accounts.push(ethUtil.addHexPrefix(acct)) }, }, }) diff --git a/test/unit/tx-controller-test.js b/test/unit/tx-controller-test.js index 7bb193242..7b875db66 100644 --- a/test/unit/tx-controller-test.js +++ b/test/unit/tx-controller-test.js @@ -27,7 +27,7 @@ describe('Transaction Controller', function () { networkStore: new ObservableStore(currentNetworkId), txHistoryLimit: 10, blockTracker: { getCurrentBlock: noop, on: noop, once: noop }, - ethStore: { getState: noop }, + accountTracker: { getState: noop }, signTransaction: (ethTx) => new Promise((resolve) => { ethTx.sign(privKey) resolve() @@ -431,4 +431,4 @@ describe('Transaction Controller', function () { }).catch(done) }) }) -})
\ No newline at end of file +}) |