X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c57c9f8553e59144b4adeafc90ce2fa2ac946962..c133ed0f3634fe29b082a4501abd04f05f6221d5:/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 14d92803cc..30bee3bc1b 100644 --- a/src/store/auth/auth-reducer.test.ts +++ b/src/store/auth/auth-reducer.test.ts @@ -43,22 +43,7 @@ describe('auth-reducer', () => { sessions: [], homeCluster: "zzzzz", localCluster: "", - remoteHosts: {}, - remoteHostsConfig: {} - }); - }); - - 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: {} }); @@ -86,6 +71,7 @@ describe('auth-reducer', () => { sessions: [], homeCluster: "", localCluster: "", + loginCluster: "", remoteHosts: {}, remoteHostsConfig: {}, user: {