mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 06:42:21 +08:00
🐛 fix(test_user.py): fix incorrect assertion in test_patch_user function
This commit is contained in:
@ -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",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user