X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ba71587fc2058276b9b70c342b990aa6508690a9..818c47686e619fbdc3bfa11edd290d0c9e0db64b:/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 8311e861ed..e862a313d0 100644 --- a/src/store/auth/auth-reducer.test.ts +++ b/src/store/auth/auth-reducer.test.ts @@ -49,23 +49,6 @@ describe('auth-reducer', () => { }); }); - it('should save api token', () => { - const initialState = undefined; - - const state = reducer(initialState, authActions.SAVE_API_TOKEN("token")); - expect(state).toEqual({ - apiToken: "token", - user: undefined, - sshKeys: [], - sessions: [], - homeCluster: "", - localCluster: "", - loginCluster: "", - remoteHosts: {}, - remoteHostsConfig: {} - }); - }); - it('should set user details on success fetch', () => { const initialState = undefined; @@ -86,7 +69,7 @@ describe('auth-reducer', () => { apiToken: undefined, sshKeys: [], sessions: [], - homeCluster: "", + homeCluster: "uuid", localCluster: "", loginCluster: "", remoteHosts: {},