From 5b8b584013852638f8de8488a65965a720d90835 Mon Sep 17 00:00:00 2001 From: qzl Date: Thu, 26 Feb 2026 14:12:39 +0800 Subject: [PATCH] test: verify signup_start response only contains email --- backend/tests/integration/test_auth_routes.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/tests/integration/test_auth_routes.py b/backend/tests/integration/test_auth_routes.py index b0f9d32..26f6e94 100644 --- a/backend/tests/integration/test_auth_routes.py +++ b/backend/tests/integration/test_auth_routes.py @@ -103,8 +103,7 @@ def test_signup_start_returns_pending_response() -> None: }, ) assert response.status_code == 202 - body = response.json() - assert body["email"] == "user@example.com" + assert response.json() == {"email": "user@example.com"} finally: app.dependency_overrides = {}