From 13d76a0cb2cd08357b7667020410e4615732aabd Mon Sep 17 00:00:00 2001 From: n1aba Date: Fri, 18 Aug 2017 14:06:32 -0500 Subject: 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 --- webapp/tests/components/integrations/installed_oauth_apps.test.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'webapp/tests/components/integrations/installed_oauth_apps.test.jsx') 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); -- cgit v1.2.3-1-g7c22