[ARVADOS-WORKBENCH2] updated: 1.4.1-408-g86df4771
Git user
git at public.arvados.org
Mon Aug 24 13:53:26 UTC 2020
Summary of changes:
src/views/login-panel/login-panel.test.tsx | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
via 86df4771fd4ce9e88bd349f738d5833d5cd70c51 (commit)
from a2a35bb1683304edd8d20e1a2b5df29e81669b46 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 86df4771fd4ce9e88bd349f738d5833d5cd70c51
Author: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
Date: Mon Aug 24 15:52:38 2020 +0200
16735: Added test for non existing method
Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
diff --git a/src/views/login-panel/login-panel.test.tsx b/src/views/login-panel/login-panel.test.tsx
index c716433e..b490acd9 100644
--- a/src/views/login-panel/login-panel.test.tsx
+++ b/src/views/login-panel/login-panel.test.tsx
@@ -113,5 +113,24 @@ describe('<LoginPanel />', () => {
// then
expect(result).toBeTruthy();
});
+
+ it('should return false for not specified config option config.clusterConfig.Login.NOT_EXISTING.Enable', () => {
+ // given
+ const config = {
+ clusterConfig: {
+ Login: {
+ NOT_EXISTING: {
+ Enable: true
+ },
+ },
+ },
+ };
+
+ // when
+ const result = requirePasswordLogin(config);
+
+ // then
+ expect(result).toBeFalsy();
+ });
});
});
\ No newline at end of file
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list