php-commerce/tests
Claude 59ed456ccd
test: add tests for UsageBillingService
Cover usage recording (with idempotency, inactive meters, feature flag),
workspace-level recording, usage retrieval and summaries, pending charge
calculations, invoice line item creation, tiered/flat-rate overage pricing,
billing cycle resets, usage aggregation, meter CRUD, and Stripe gate checks.

Fixes #7

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 16:29:15 +00:00
..
Feature test: add tests for UsageBillingService 2026-03-24 16:29:15 +00:00
Unit Initial commit 2026-01-26 23:18:22 +00:00
UseCase fix(dx): add declare(strict_types=1) and fix PSR-12 compliance 2026-03-17 09:08:03 +00:00
Pest.php chore: fix pint code style and add test config 2026-02-23 03:50:05 +00:00
TestCase.php fix(dx): add declare(strict_types=1) and fix PSR-12 compliance 2026-03-17 09:08:03 +00:00