diff --git a/static/src/js/containers/AuthCallbackContainer/__tests__/AuthCallbackContainer.test.js b/static/src/js/containers/AuthCallbackContainer/__tests__/AuthCallbackContainer.test.js index 36826e0176..4bfdadbcfe 100644 --- a/static/src/js/containers/AuthCallbackContainer/__tests__/AuthCallbackContainer.test.js +++ b/static/src/js/containers/AuthCallbackContainer/__tests__/AuthCallbackContainer.test.js @@ -154,7 +154,7 @@ describe('AuthCallbackContainer component', () => { expect(setSpy).toBeCalledTimes(0) expect(window.location.replace.mock.calls.length).toBe(1) - expect(window.location.replace.mock.calls[0]).toEqual(['/']) + expect(window.location.replace.mock.calls[0]).toEqual(['/not-found']) }) test('does not follow the redirect if the redirect param is not relative to earthdata-search', () => { @@ -171,7 +171,7 @@ describe('AuthCallbackContainer component', () => { expect(setSpy).toBeCalledTimes(0) expect(window.location.replace.mock.calls.length).toBe(1) - expect(window.location.replace.mock.calls[0]).toEqual(['/']) + expect(window.location.replace.mock.calls[0]).toEqual(['/not-found']) }) test('does not follow the redirect if the eddRedirect param is not valid', () => { @@ -188,6 +188,6 @@ describe('AuthCallbackContainer component', () => { expect(setSpy).toBeCalledTimes(0) expect(window.location.replace.mock.calls.length).toBe(1) - expect(window.location.replace.mock.calls[0]).toEqual(['/']) + expect(window.location.replace.mock.calls[0]).toEqual(['/not-found']) }) })