diff --git a/tests/integration/test_general_info_endpoints.py b/tests/integration/test_general_info_endpoints.py index 56d935b6..a8c35c5b 100644 --- a/tests/integration/test_general_info_endpoints.py +++ b/tests/integration/test_general_info_endpoints.py @@ -271,22 +271,13 @@ async def test_models_endpoint_accept_headers(integration_client: AsyncClient) - async def test_admin_endpoint_unauthenticated( integration_client: AsyncClient, db_snapshot: Any ) -> None: - """Test GET /admin/ endpoint without authentication shows setup form""" + """Test GET /admin/ endpoint redirects to /""" await db_snapshot.capture() response = await integration_client.get("/admin/") - assert response.status_code == 200 - assert "text/html" in response.headers["content-type"] - - html_content = response.text - assert "" in html_content - assert "" in html_content - assert "" in html_content or "