X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a70ffd1849ee50272a21943f99b988a3a4076edd..1286952dc6a65c123a3e3695c0b1d653f85cb808:/services/workbench2/src/store/auth/auth-reducer.test.ts 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, } }); });