Compare commits

...
Author SHA1 Message Date
Shroominic 1af39f043f fix tests 2026-01-31 07:37:39 +08:00
Shroominic 1751cd3b47 remove deprecated htmx endpoints 2026-01-31 07:23:58 +08:00
2 changed files with 2 additions and 2221 deletions
File diff suppressed because it is too large Load Diff
@@ -267,10 +267,9 @@ async def test_admin_endpoint_unauthenticated(
"""Test GET /admin/ endpoint redirects to /"""
await db_snapshot.capture()
response = await integration_client.get("/admin/")
response = await integration_client.get("/admin/api/settings")
assert response.status_code == 307
assert response.headers.get("location") == "/"
assert response.status_code == 403
diff = await db_snapshot.diff()
assert len(diff["api_keys"]["added"]) == 0