porchlight/tests/test_admin
Johan Lundberg befcef9395
fix: add CSRF token handling to admin tests after merge
The CSRF middleware added to main after the admin-pages branch was
created caused all admin test POSTs/DELETEs to be rejected. Add
get_csrf_token() calls and X-CSRF-Token headers to login helpers and
all mutation requests, matching the pattern used by other tests.
2026-02-19 15:02:51 +01:00
..
__init__.py feat: add admin router with admin group guard 2026-02-19 11:18:50 +01:00
test_admin_guard.py fix: add CSRF token handling to admin tests after merge 2026-02-19 15:02:51 +01:00
test_admin_routes.py fix: add CSRF token handling to admin tests after merge 2026-02-19 15:02:51 +01:00