From bfdb9de879872e588bd320c9c079371de71ba06e Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Tue, 26 Sep 2023 10:21:39 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(test=5Fuser.py):=20fix=20inc?= =?UTF-8?q?orrect=20assertion=20in=20test=5Fpatch=5Fuser=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_user.py b/tests/test_user.py index bf2fee012..49962c8d1 100644 --- a/tests/test_user.py +++ b/tests/test_user.py @@ -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", )