aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/actions/tx_test.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-10-20 05:55:08 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-10-20 05:55:08 +0800
commitad3fa24a28c0ec45dca43a257005626a4027487a (patch)
treeeafbf105e0a2e5caf70fcf542b018c444705335f /test/unit/actions/tx_test.js
parent725d503f68f533e0d1dfc402c4316dcf677c0d89 (diff)
downloadtangerine-wallet-browser-ad3fa24a28c0ec45dca43a257005626a4027487a.tar.gz
tangerine-wallet-browser-ad3fa24a28c0ec45dca43a257005626a4027487a.tar.zst
tangerine-wallet-browser-ad3fa24a28c0ec45dca43a257005626a4027487a.zip
Intermediary commit.
Diffstat (limited to 'test/unit/actions/tx_test.js')
-rw-r--r--test/unit/actions/tx_test.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/actions/tx_test.js b/test/unit/actions/tx_test.js
index c08a8aa26..e365ee3a3 100644
--- a/test/unit/actions/tx_test.js
+++ b/test/unit/actions/tx_test.js
@@ -46,7 +46,7 @@ describe('tx confirmation screen', function() {
describe('cancelTx', function() {
before(function(done) {
- actions._setAccountManager({
+ actions._setKeyringController({
approveTransaction(txId, cb) { cb('An error!') },
cancelTransaction(txId) { /* noop */ },
clearSeedWordCache(cb) { cb() },
@@ -75,7 +75,7 @@ describe('tx confirmation screen', function() {
before(function(done) {
alert = () => {/* noop */}
- actions._setAccountManager({
+ actions._setKeyringController({
approveTransaction(txId, cb) { cb({message: 'An error!'}) },
})
@@ -96,7 +96,7 @@ describe('tx confirmation screen', function() {
describe('when there is success', function() {
it('should complete tx and go home', function() {
- actions._setAccountManager({
+ actions._setKeyringController({
approveTransaction(txId, cb) { cb() },
})
@@ -135,7 +135,7 @@ describe('tx confirmation screen', function() {
}
freeze(initialState)
- actions._setAccountManager({
+ actions._setKeyringController({
approveTransaction(txId, cb) { cb() },
})