diff --git a/webapp/src/components/Login.test.js b/webapp/src/components/Login.test.js index ce2648b2..7634fcc2 100644 --- a/webapp/src/components/Login.test.js +++ b/webapp/src/components/Login.test.js @@ -35,7 +35,7 @@ describe('Login component', () => { // Verify that the user information is displayed //expect(screen.getByText(/Hello testUser!/i)).toBeInTheDocument(); //expect(screen.getByText(/Your account was created on 1\/1\/2024/i)).toBeInTheDocument(); - expect(sendLogin.mock.calls[0][0]).toBe(false); + expect(sendLogin.mock.calls[0][0]).toBe(true); expect(sendUsername.mock.calls[0][0]).toBe('testUser'); });