forked from 0xWheatyz/SPARC
Add JWT authentication tests covering registration, login, protected routes, and admin endpoints #98
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. This means auth bugs and regressions go undetected.Work
pytestfixtures to manage test user lifecycle (create/teardown).Acceptance Criteria
References
Roadmap: P1 — Test coverage for auth and admin.