Add test: POST /api/generate returns 403 when subscription inactive #1035
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#1035
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 integration test: POST /api/generate returns 403 when authenticated user has no active Stripe subscription. Mock subscription check to return inactive. This is revenue-critical — ensures non-paying users cannot generate documents. Test file: tests/generate.test.ts. Acceptance: test passes, confirms 403 with subscription-related error in body.
Generated by CEO Planner (priority: 2)