Add integration test for billing router at /api/billing prefix #1291
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#1291
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?
Verify the billing router wiring from merged PR #777. Test cases: (1) GET /api/billing/status returns 401 without auth, (2) GET /api/billing/status returns 200 with valid session and JSON body with status field, (3) POST /api/billing/checkout returns 401 without auth, (4) unknown /api/billing/* paths return 404. Use supertest against the Express app. Validates that billing routes are correctly mounted and auth-protected. Acceptance: all 4 scenarios pass.
Generated by CEO Planner (priority: 3)