From 5bb399e55a819d52f2742e3491d50547be435a97 Mon Sep 17 00:00:00 2001
From: Dan <danjm.com@gmail.com>
Date: Thu, 24 May 2018 17:27:33 -0230
Subject: Display correct titles and subtitles on send token and editing send
 transaction screens.

---
 .../send_/send-header/tests/send-header-container.test.js         | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'ui/app/components/send_/send-header/tests/send-header-container.test.js')

diff --git a/ui/app/components/send_/send-header/tests/send-header-container.test.js b/ui/app/components/send_/send-header/tests/send-header-container.test.js
index abce9af6b..41a7e8a89 100644
--- a/ui/app/components/send_/send-header/tests/send-header-container.test.js
+++ b/ui/app/components/send_/send-header/tests/send-header-container.test.js
@@ -18,7 +18,10 @@ proxyquire('../send-header.container.js', {
     },
   },
   '../../../actions': actionSpies,
-  '../../../selectors': { getSelectedToken: (s) => `mockSelectedToken:${s}` },
+  './send-header.selectors': {
+    getTitleKey: (s) => `mockTitleKey:${s}`,
+    getSubtitleParams: (s) => `mockSubtitleParams:${s}`,
+  },
 })
 
 describe('send-header container', () => {
@@ -27,7 +30,8 @@ describe('send-header container', () => {
 
     it('should map the correct properties to props', () => {
       assert.deepEqual(mapStateToProps('mockState'), {
-        isToken: true,
+        titleKey: 'mockTitleKey:mockState',
+        subtitleParams: 'mockSubtitleParams:mockState',
       })
     })
 
-- 
cgit