php-content/tests/Unit
Claude 2b804a8c47
All checks were successful
CI / PHP 8.3 (push) Successful in 1m43s
CI / PHP 8.4 (push) Successful in 1m44s
fix: resolve pre-existing test failures uncovered by Pint fix
- Enable Attr.EnableID in HTMLPurifier so id attributes are preserved
- Move URI config before maybeGetRawHTMLDefinition() (config finalization)
- Reorder status attribute checks: circuit broken before disabled
- Use make() for signature tests needing null secrets (bypass auto-gen)
- Register webhook route stub in test setUp for URL generation test
- Use Mockery mock for CdnPurgeService stub to satisfy type hint

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 12:29:00 +00:00
..
.gitkeep Initial commit 2026-01-26 23:24:57 +00:00
ContentSearchServiceTest.php chore: fix pint code style and add test config 2026-02-23 03:50:06 +00:00
ContentWebhookEndpointTest.php fix: resolve pre-existing test failures uncovered by Pint fix 2026-02-23 12:29:00 +00:00
HtmlSanitiserTest.php fix(security): require HTMLPurifier for XSS sanitisation 2026-01-29 12:34:35 +00:00
McpHandlersTest.php refactor: rename namespace Core\Content to Core\Mod\Content 2026-01-27 16:24:53 +00:00
ProcessContentWebhookTest.php chore: fix pint code style and add test config 2026-02-23 03:50:06 +00:00
WebhookDeliveryLoggerTest.php chore: fix pint code style and add test config 2026-02-23 03:50:06 +00:00