[ARVADOS-WORKBENCH2] updated: 1.3.0-359-gd8b16433

Git user git at public.curoverse.com
Tue Feb 12 17:08:18 EST 2019


Summary of changes:
 src/store/auth/auth-action.test.ts  |  5 +++++
 src/store/auth/auth-reducer.test.ts | 15 ++++++++++++---
 2 files changed, 17 insertions(+), 3 deletions(-)

       via  d8b1643373ec164a5ae57cd10a951ea01f37f7d7 (commit)
      from  d4f479b1c2bd4bb67d5e69f792b503f375d6dfc9 (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 d8b1643373ec164a5ae57cd10a951ea01f37f7d7
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date:   Tue Feb 12 17:08:01 2019 -0500

    14720: Fix tests
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>

diff --git a/src/store/auth/auth-action.test.ts b/src/store/auth/auth-action.test.ts
index 2e36b107..d5e03c69 100644
--- a/src/store/auth/auth-action.test.ts
+++ b/src/store/auth/auth-action.test.ts
@@ -56,6 +56,11 @@ describe('auth-actions', () => {
         expect(store.getState().auth).toEqual({
             apiToken: "token",
             sshKeys: [],
+            homeCluster: "uuid",
+            localCluster: undefined,
+            remoteHosts: {
+                xc59: "xc59.api.arvados.com"
+            },
             sessions: [{
                 "active": true,
                 "baseUrl": undefined,
diff --git a/src/store/auth/auth-reducer.test.ts b/src/store/auth/auth-reducer.test.ts
index f527edec..166f6d30 100644
--- a/src/store/auth/auth-reducer.test.ts
+++ b/src/store/auth/auth-reducer.test.ts
@@ -28,7 +28,7 @@ describe('auth-reducer', () => {
             email: "test at test.com",
             firstName: "John",
             lastName: "Doe",
-            uuid: "uuid",
+            uuid: "zzzzz-tpzed-xurymjxw79nv3jz",
             ownerUuid: "ownerUuid",
             username: "username",
             prefs: {},
@@ -39,7 +39,10 @@ describe('auth-reducer', () => {
             apiToken: "token",
             user,
             sshKeys: [],
-            sessions: []
+            sessions: [],
+            homeCluster: "zzzzz",
+            localCluster: "",
+            remoteHosts: {}
         });
     });
 
@@ -51,7 +54,10 @@ describe('auth-reducer', () => {
             apiToken: "token",
             user: undefined,
             sshKeys: [],
-            sessions: []
+            sessions: [],
+            homeCluster: "",
+            localCluster: "",
+            remoteHosts: {},
         });
     });
 
@@ -74,6 +80,9 @@ describe('auth-reducer', () => {
             apiToken: undefined,
             sshKeys: [],
             sessions: [],
+            homeCluster: "",
+            localCluster: "",
+            remoteHosts: {},
             user: {
                 email: "test at test.com",
                 firstName: "John",

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list