diff --git a/src/auth/spec/AuthManager.spec.ts b/src/auth/spec/AuthManager.spec.ts index 29b01ad..ce4a5d1 100644 --- a/src/auth/spec/AuthManager.spec.ts +++ b/src/auth/spec/AuthManager.spec.ts @@ -176,33 +176,7 @@ describe('AuthManager', () => { const response = await authManager.checkSession() expect(response.isLoggedIn).toBeTruthy() - expect(mockedAxios.get).toHaveBeenNthCalledWith(1, `/SASLogon/login`, { - withCredentials: true, - responseType: 'text', - transformResponse: undefined, - headers: { - Accept: '*/*', - 'Content-Type': 'text/plain' - } - }) - - done() - }) - - it('should check and return session information if logged in', async (done) => { - const authManager = new AuthManager( - serverUrl, - serverType, - requestClient, - authCallback - ) - mockedAxios.get.mockImplementation(() => - Promise.resolve({ data: '