From 54217fc8c2ea0305bf861d33a99e6701f68e3aed Mon Sep 17 00:00:00 2001 From: stefanogoldoni Date: Thu, 29 Apr 2021 00:32:47 +0200 Subject: [PATCH] cancellato utente_test al termine dei test --- code/backend/nest_backend/test/user_delete_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/backend/nest_backend/test/user_delete_test.py b/code/backend/nest_backend/test/user_delete_test.py index 5faa754..c7d87f3 100644 --- a/code/backend/nest_backend/test/user_delete_test.py +++ b/code/backend/nest_backend/test/user_delete_test.py @@ -15,7 +15,7 @@ class MyTestCase(unittest.TestCase): auth_code = j['data']['access_token'] r = requests.post(f'http://localhost:5000/api/user/remove', headers={'authorization': "Bearer " + auth_code}, - json={'email': 'utente15@nest.com'}) + json={'email': 'utente_test@nest.com'}) j = json.loads(r.text) assert j['result'] == "success"