From 5b71de4a515e70a4381dee2d644fbf7fccb99f35 Mon Sep 17 00:00:00 2001 From: stefanogoldoni Date: Wed, 28 Apr 2021 23:22:18 +0200 Subject: [PATCH] creazione utente_test --- code/backend/nest_backend/test/user_create_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/backend/nest_backend/test/user_create_test.py b/code/backend/nest_backend/test/user_create_test.py index baca138..3d33b6b 100644 --- a/code/backend/nest_backend/test/user_create_test.py +++ b/code/backend/nest_backend/test/user_create_test.py @@ -16,7 +16,7 @@ class MyTestCase(unittest.TestCase): auth_code = j['data']['access_token'] r = requests.post(f'http://localhost:5000/api/user/create', headers={'authorization': "Bearer " + auth_code}, - json={'email': 'utente16@nest.com', 'password': '', 'username': 'utente16'}) + json={'email': 'utente_test@nest.com', 'password': 'password', 'username': 'utente'}) j = json.loads(r.text) assert j['result'] == "success"