From d7e175c3f52f6c0556ea5f60375e7263ea6b7c48 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi <256895@studenti.unimore.it> Date: Fri, 7 May 2021 21:24:33 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20invalid=20password?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/backend/nest_backend/test/fixtures/flask_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/backend/nest_backend/test/fixtures/flask_client.py b/code/backend/nest_backend/test/fixtures/flask_client.py index ea1198d..be97d9c 100644 --- a/code/backend/nest_backend/test/fixtures/flask_client.py +++ b/code/backend/nest_backend/test/fixtures/flask_client.py @@ -40,7 +40,7 @@ def flask_client(): @pytest.fixture() def access_token(flask_client): response = flask_client.post("/api/v1/login", json={ - "username": "admin", + "email": "admin@admin.com", "password": "password" }) assert response.json is not None