🐛 fix(test_user.py): fix incorrect assertion in test_patch_user function
This commit is contained in:
parent
12a46b6936
commit
bfdb9de879
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ def test_patch_user(client, active_user, logged_in_headers):
|
||||||
response = client.patch(
|
response = client.patch(
|
||||||
f"/api/v1/users/{user_id}", json=update_data.dict(), headers=logged_in_headers
|
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(
|
update_data = UserUpdate(
|
||||||
profile_image="new_image",
|
profile_image="new_image",
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue