summaryrefslogtreecommitdiffstats
path: root/webapp/tests/components/integrations/installed_oauth_apps.test.jsx
diff options
context:
space:
mode:
authorn1aba <n1aba.github@gmail.com>2017-08-18 14:06:32 -0500
committerChristopher Speller <crspeller@gmail.com>2017-08-18 12:06:32 -0700
commit13d76a0cb2cd08357b7667020410e4615732aabd (patch)
treeb0b6c78dfc9653932469e83c0431629a9a0d4437 /webapp/tests/components/integrations/installed_oauth_apps.test.jsx
parent6df51f8617cb1a17dec0c49a6764c2ba1d7968c9 (diff)
downloadchat-13d76a0cb2cd08357b7667020410e4615732aabd.tar.gz
chat-13d76a0cb2cd08357b7667020410e4615732aabd.tar.bz2
chat-13d76a0cb2cd08357b7667020410e4615732aabd.zip
PLT-6451 Migrate installed_oauth_app.jsx to be pure and use Redux (#7190)
* Migrate installed_oauth_app.jsx to be pure and use Redux, add test * Fix behavior for the error case
Diffstat (limited to 'webapp/tests/components/integrations/installed_oauth_apps.test.jsx')
-rw-r--r--webapp/tests/components/integrations/installed_oauth_apps.test.jsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/webapp/tests/components/integrations/installed_oauth_apps.test.jsx b/webapp/tests/components/integrations/installed_oauth_apps.test.jsx
index 4f3ca6ba8..2e5ccad7a 100644
--- a/webapp/tests/components/integrations/installed_oauth_apps.test.jsx
+++ b/webapp/tests/components/integrations/installed_oauth_apps.test.jsx
@@ -44,7 +44,11 @@ describe('components/integrations/InstalledOAuthApps', () => {
team={{name: 'test'}}
oauthApps={oauthApps}
isSystemAdmin={true}
- actions={{getOAuthApps: emptyFunction, deleteOAuthApp: emptyFunction}}
+ actions={{
+ getOAuthApps: emptyFunction,
+ regenOAuthAppSecret: emptyFunction,
+ deleteOAuthApp: emptyFunction
+ }}
/>
);
expect(wrapper.find('InstalledOAuthApp').length).toBe(2);