php-commerce/tests/Feature
Claude 6bb546be77
test: add comprehensive tests for PermissionMatrixService
Cover permission checks (can), top-down immutable hierarchy cascade,
lock/unlock, setPermission, train, getPermissions/getEffective,
gateRequest (strict/non-strict/default_allow), training mode, pending
requests workflow, and PermissionResult value object.

Fixes #10

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 16:34:21 +00:00
..
.gitkeep Initial commit 2026-01-26 23:18:22 +00:00
CheckoutFlowTest.php fix(dx): add declare(strict_types=1) and fix PSR-12 compliance 2026-03-17 09:08:03 +00:00
CompoundSkuTest.php refactor: migrate namespace from Core\Commerce to Core\Mod\Commerce 2026-01-27 16:23:12 +00:00
ContentOverrideServiceTest.php chore: fix pint code style and add test config 2026-02-23 03:50:05 +00:00
CouponServiceTest.php fix(dx): add declare(strict_types=1) and fix PSR-12 compliance 2026-03-17 09:08:03 +00:00
CurrencyServiceTest.php chore: fix pint code style and add test config 2026-02-23 03:50:05 +00:00
DunningServiceTest.php fix(dx): add declare(strict_types=1) and fix PSR-12 compliance 2026-03-17 09:08:03 +00:00
PermissionMatrixServiceTest.php test: add comprehensive tests for PermissionMatrixService 2026-03-24 16:34:21 +00:00
ProcessSubscriptionRenewalTest.php fix(dx): add declare(strict_types=1) and fix PSR-12 compliance 2026-03-17 09:08:03 +00:00
RefundServiceTest.php fix(dx): add declare(strict_types=1) and fix PSR-12 compliance 2026-03-17 09:08:03 +00:00
SubscriptionServiceTest.php fix(dx): add declare(strict_types=1) and fix PSR-12 compliance 2026-03-17 09:08:03 +00:00
TaxServiceTest.php fix(dx): add declare(strict_types=1) and fix PSR-12 compliance 2026-03-17 09:08:03 +00:00
WebhookRateLimitTest.php fix(dx): add declare(strict_types=1) and fix PSR-12 compliance 2026-03-17 09:08:03 +00:00
WebhookTest.php fix(dx): add declare(strict_types=1) and fix PSR-12 compliance 2026-03-17 09:08:03 +00:00