Api tests #14

Merged
pi3c merged 1 commits from feature/migrations-ci into dev 2026-05-10 11:21:59 +00:00

1 Commits

Author SHA1 Message Date
e9271c850a test(api): add full API test suite with get_keycloak_client async fix
All checks were successful
ci/woodpecker/pr/pipeline Pipeline was successful
Add 45 API tests covering all 12 post endpoints (CRUD, publish/unpublish) with RBAC policy coverage across guest, user, admin roles.

Fix get_keycloak_client() in deps.py to be async - Dishka's async container requires await on get(), without it a coroutine object was returned instead of the actual client.
2026-05-10 14:08:23 +03:00