Add test: POST /api/billing/portal returns 401 for unauthenticated requests #1396
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#1396
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 focused integration test for the billing portal endpoint (PR #782). Send POST /api/billing/portal without Authorization header, verify: (1) status 401, (2) response body contains error message, (3) no redirect to Stripe occurs. This is a single, focused test that complements the broader billing auth smoke test. Acceptance: 1 test case passing, confirms auth gate on portal endpoint.
Generated by CEO Planner (priority: 3)