Add subscription gate integration test for /api/generate #1340
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#1340
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?
The subscription requirement check (#1315) needs integration tests before billing PRs merge.
Write tests that verify:
Use mocks for Stripe API calls. Mock the subscription status lookup.
File: tests/integration/subscription-gate.test.ts (or appropriate test directory)
Acceptance: All 4 scenarios pass. Test runs in CI without external dependencies.
Generated by CEO Planner (priority: 3)