aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-01-31 07:25:12 +0800
committerkumavis <aaron@kumavis.me>2017-01-31 07:25:12 +0800
commit2fa60cfcbfdeb43599007f0dd26fd44a4beec8f1 (patch)
treed42ef1e2402cdaebcad3f72f6887b5e3999b3c95 /test
parentf9b31fe2c3a43339a4519761e4c8b2f3813e85e0 (diff)
downloadtangerine-wallet-browser-2fa60cfcbfdeb43599007f0dd26fd44a4beec8f1.tar
tangerine-wallet-browser-2fa60cfcbfdeb43599007f0dd26fd44a4beec8f1.tar.gz
tangerine-wallet-browser-2fa60cfcbfdeb43599007f0dd26fd44a4beec8f1.tar.bz2
tangerine-wallet-browser-2fa60cfcbfdeb43599007f0dd26fd44a4beec8f1.tar.lz
tangerine-wallet-browser-2fa60cfcbfdeb43599007f0dd26fd44a4beec8f1.tar.xz
tangerine-wallet-browser-2fa60cfcbfdeb43599007f0dd26fd44a4beec8f1.tar.zst
tangerine-wallet-browser-2fa60cfcbfdeb43599007f0dd26fd44a4beec8f1.zip
continue rename selectedAccount to selectedAddress
Diffstat (limited to 'test')
-rw-r--r--test/integration/mocks/oldVault.json2
-rw-r--r--test/unit/actions/set_selected_account_test.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/mocks/oldVault.json b/test/integration/mocks/oldVault.json
index 5861c41d7..b908ed7ca 100644
--- a/test/integration/mocks/oldVault.json
+++ b/test/integration/mocks/oldVault.json
@@ -13,7 +13,7 @@
"provider": {
"type": "testnet"
},
- "selectedAccount": "0x4dd5d356c5a016a220bcd69e82e5af680a430d00"
+ "selectedAddress": "0x4dd5d356c5a016a220bcd69e82e5af680a430d00"
},
"showSeedWords": false,
"isEthConfirmed": true
diff --git a/test/unit/actions/set_selected_account_test.js b/test/unit/actions/set_selected_account_test.js
index f72ca82e4..2dc42d2ec 100644
--- a/test/unit/actions/set_selected_account_test.js
+++ b/test/unit/actions/set_selected_account_test.js
@@ -31,7 +31,7 @@ describe('SHOW_ACCOUNT_DETAIL', function() {
it('updates metamask state', function() {
var initialState = {
metamask: {
- selectedAccount: 'foo'
+ selectedAddress: 'foo'
}
}
freeze(initialState)
@@ -43,6 +43,6 @@ describe('SHOW_ACCOUNT_DETAIL', function() {
freeze(action)
var resultingState = reducers(initialState, action)
- assert.equal(resultingState.metamask.selectedAccount, action.value)
+ assert.equal(resultingState.metamask.selectedAddress, action.value)
})
})