From eb43ec94d3eef2f7c9c64a4b0f9c7d481090ab58 Mon Sep 17 00:00:00 2001 From: uo289039 Date: Thu, 14 Mar 2024 21:50:45 +0100 Subject: [PATCH] =?UTF-8?q?Intento=20arreglo=20de=20tests=2025,=20tratando?= =?UTF-8?q?=20de=20arreglar=20=C3=BAltimo=20fallo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webapp/src/components/Login.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/components/Login.test.js b/webapp/src/components/Login.test.js index 52d7196f..b5b6324a 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(true); + expect(sendLogin.mock.calls[0][0]).toBe(false); expect(sendUsername.mock.calls[0][0]).toBe('testUser'); });