Write auth integration tests — verify 401/403 on every protected route #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
No tests verify that routes reject unauthenticated requests. After #4 (JWT middleware) is merged, it must be continuously tested or it will regress silently.
Required Actions
backend-compliance/compliance/tests/test_auth.pyAcceptance Criteria