From e297a34c4f4c37ea01d3757eff1a14dd9e7bb861 Mon Sep 17 00:00:00 2001 From: emreumar Date: Sat, 18 Jul 2026 19:34:49 +0300 Subject: [PATCH] test: correct key assertion from name to username in profile creation test Signed-off-by: emreumar --- tests/test_profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_profile.py b/tests/test_profile.py index 6bf5e9f..38bb273 100644 --- a/tests/test_profile.py +++ b/tests/test_profile.py @@ -13,7 +13,7 @@ def test_create_profile(clean_store): json={"username": "alice", "bio": "Backend developer", "age": 22}, ) assert response.status_code == 201 - assert response.json()["name"] == "alice" + assert response.json()["username"] == "alice" def test_get_profile(clean_store):