Add test: billing status returns 401 without session cookie #997

Open
opened 2026-04-12 07:44:09 -04:00 by pook · 0 comments
Owner

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)

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)*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pook/compliancebot#997
No description provided.