diff --git a/Backend/test_main.py b/Backend/test_main.py index 704c606..ad27f16 100644 --- a/Backend/test_main.py +++ b/Backend/test_main.py @@ -37,8 +37,8 @@ def test_remove_user_favorite(): def test_change_user_location(): """Test for http://localhost:5000/change_user_location.""" url = "http://localhost:5000" - response = requests.put(f"{url}/change_user_location", json={"Location": "New York"}, + response = requests.put(f"{url}/change_user_location", json={"Location": "New York"}, timeout=10) - assert response.json() == {"Location": "New York", "Name": "Eric", "Occupation": + assert response.json() == {"Location": "New York", "Name": "Eric", "Occupation": "Student", "Password": "2020"} \ No newline at end of file