X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/f880dbab588eff4a3623011e3f1bd4407eda4cca..936aa32e065b7f672e27b95262720c2ce8258bf6:/src/store/auth/auth-reducer.test.ts diff --git a/src/store/auth/auth-reducer.test.ts b/src/store/auth/auth-reducer.test.ts index 3dd486b3..eb7e0c0d 100644 --- a/src/store/auth/auth-reducer.test.ts +++ b/src/store/auth/auth-reducer.test.ts @@ -30,7 +30,9 @@ describe('auth-reducer', () => { lastName: "Doe", uuid: "uuid", ownerUuid: "ownerUuid", - isAdmin: true + identityUrl: "identityUrl", + prefs: {}, + isAdmin: false }; const state = reducer(initialState, authActions.INIT({ user, token: "token" })); expect(state).toEqual({ @@ -60,7 +62,9 @@ describe('auth-reducer', () => { lastName: "Doe", uuid: "uuid", ownerUuid: "ownerUuid", - isAdmin: true + identityUrl: "identityUrl", + prefs: {}, + isAdmin: false }; const state = reducer(initialState, authActions.USER_DETAILS_SUCCESS(user)); @@ -73,7 +77,9 @@ describe('auth-reducer', () => { lastName: "Doe", uuid: "uuid", ownerUuid: "ownerUuid", - isAdmin: true + identityUrl: "identityUrl", + prefs: {}, + isAdmin: false } }); });