[arvados] updated: 2.7.0-6614-g1286952dc6

git repository hosting git at public.arvados.org
Fri May 24 15:53:20 UTC 2024


Summary of changes:
 services/workbench2/src/store/auth/auth-reducer.test.ts | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

       via  1286952dc6a65c123a3e3695c0b1d653f85cb808 (commit)
      from  a70ffd1849ee50272a21943f99b988a3a4076edd (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 1286952dc6a65c123a3e3695c0b1d653f85cb808
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Fri May 24 11:50:34 2024 -0400

    21704: fixed auth-reducer test
    
    Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/src/store/auth/auth-reducer.test.ts b/services/workbench2/src/store/auth/auth-reducer.test.ts
index c0f8545711..0d83e390ed 100644
--- a/services/workbench2/src/store/auth/auth-reducer.test.ts
+++ b/services/workbench2/src/store/auth/auth-reducer.test.ts
@@ -72,9 +72,13 @@ describe('auth-reducer', () => {
         const state = reducer(initialState, authActions.USER_DETAILS_SUCCESS(user));
         expect(state).toEqual({
             apiToken: undefined,
+            apiTokenExpiration: undefined,
+            apiTokenLocation: undefined,
             config: mockConfig({}),
             sshKeys: [],
             sessions: [],
+            extraApiToken: undefined,
+            extraApiTokenExpiration: undefined,
             homeCluster: "uuid",
             localCluster: "",
             loginCluster: "",
@@ -89,7 +93,9 @@ describe('auth-reducer', () => {
                 username: "username",
                 prefs: {},
                 isAdmin: false,
-                isActive: true
+                isActive: true,
+                canManage: false,
+                canWrite: false,
             }
         });
     });

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list