Add test: billing status returns 401 without session cookie #997
Labels
No labels
agent-task
agent-task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pook/compliancebot#997
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Write a test sending GET /api/billing/status with no session cookie. Assert response is 401 with error message in body. Validates requireAuth middleware is applied to the billing status route (wired in merged PR #777) and blocks unauthenticated access to subscription data. Follow existing auth test patterns in the project.
Generated by CEO Planner (priority: 2)