🐛 fix(test_user.py): fix incorrect assertion in test_patch_user function

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-09-26 10:21:39 -03:00
commit bfdb9de879

View file

@ -170,7 +170,7 @@ def test_patch_user(client, active_user, logged_in_headers):
response = client.patch(
f"/api/v1/users/{user_id}", json=update_data.dict(), headers=logged_in_headers
)
assert response.status_code == 304, response.json()
assert response.status_code == 200, response.json()
update_data = UserUpdate(
profile_image="new_image",
)