about summary refs log tree commit diff
path: root/gn_auth
diff options
context:
space:
mode:
authorClaude Sonnet 4.62026-08-27 15:48:04 +0000
committerFrederick Muriuki Muriithi2026-08-27 10:53:07 -0500
commit4a8ffa773ad487d1e0ad96ded074f4efcf8a438c (patch)
tree19f74d758691958aa03eb5a3227b0770c7ccd2a5 /gn_auth
parentb128915f0e9258099f8881382dfb1307e8740d53 (diff)
downloadgn-auth-4a8ffa773ad487d1e0ad96ded074f4efcf8a438c.tar.gz
tests(admin): add TDD tests for POST /auth/user/<uid>/roles/revoke
Four tests covering the revoke endpoint (401/403/200/DB removal).
Success tests pre-assign the role via _assign_target_role and use
try/finally with _cleanup_target_role to restore DB state.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'gn_auth')
0 files changed, 0 insertions, 0 deletions