From 549877fb5353fe6dcff36959785f40e53b6f4ced Mon Sep 17 00:00:00 2001 From: stefanogoldoni Date: Fri, 30 Apr 2021 00:12:25 +0200 Subject: [PATCH] delete testata in tutti i metodi --- code/backend/nest_backend/test/user_delete_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/backend/nest_backend/test/user_delete_test.py b/code/backend/nest_backend/test/user_delete_test.py index 747381b..bb83b20 100644 --- a/code/backend/nest_backend/test/user_delete_test.py +++ b/code/backend/nest_backend/test/user_delete_test.py @@ -44,13 +44,13 @@ class MyTestCase(unittest.TestCase): print("delete User NON eseguito correttamente!") - r = requests.delete(f'http://localhost:5000/api/v1/users/utente12@nest.com', + r = requests.delete(f'http://localhost:5000/api/v1/users/utente3@nest.com', headers={'authorization': "Bearer " + auth_code},) j = json.loads(r.text) assert j['result'] == "success" print("User_delete eseguito correttamente!") - print("Testing del metodo user_delete") + print("Testing del metodo user delete")