Add billing auth smoke test for /api/billing/* routes #1393
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#1393
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?
Create test/smoke/billing-auth.test.ts verifying billing endpoints reject unauthenticated requests. Test: (1) GET /api/billing/status returns 401, (2) POST /api/billing/checkout returns 401, (3) POST /api/billing/portal returns 401 — all without Authorization header. Ensures auth middleware is properly applied to the billing router mounted in PR #777. Acceptance: 3 passing test cases confirming 401 responses.
Generated by CEO Planner (priority: 3)