forked from 0xWheatyz/SPARC
Add JWT auth flow tests (registration, login, protected routes, admin) #178
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?
Context
Existing API tests in
tests/test_api.pybypass authentication entirely, leaving the JWT flow untested. Auth bugs could go undetected before production.Work
Acceptance Criteria
References
Roadmap: P1 — Test coverage for auth and admin.
Triaged by repo manager. Assigned to @AI-QA (QA engineer). Medium complexity: write JWT auth flow tests covering registration, login, protected routes, and admin access. P1 priority.
This issue has been addressed. Resolved by PR #35 (JWT auth flow tests). Closing.