php-agentic/tests/Feature
Snider d76db0672b refactor(tests): convert IpRestrictionServiceTest to Pest functional syntax
Rewrote all test methods to use Pest's test() function with expect()
assertions instead of PHPUnit class-based syntax:
- IP validation tests (IPv4 and IPv6)
- CIDR range matching for all prefix lengths (/0 to /32 for IPv4, /0 to /128 for IPv6)
- Whitelist management tests (parsing, formatting, comments)
- Entry validation and error handling
- Edge cases (loopback, private ranges, link-local, mixed protocols)

Test count increased from 60+ to 78 with additional edge case coverage.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 18:50:41 +00:00
..
.gitkeep Initial commit 2026-01-26 23:20:30 +00:00
AgentApiKeyServiceTest.php refactor(tests): convert IpRestrictionServiceTest to Pest functional syntax 2026-01-29 18:50:41 +00:00
AgentApiKeyTest.php refactor(tests): convert AgentApiKey tests to Pest functional syntax 2026-01-29 18:42:56 +00:00
AgentPhaseTest.php refactor: update namespaces for L1/L2 package convention 2026-01-27 17:34:46 +00:00
AgentPlanTest.php refactor: update namespaces for L1/L2 package convention 2026-01-27 17:34:46 +00:00
AgentSessionTest.php refactor: update namespaces for L1/L2 package convention 2026-01-27 17:34:46 +00:00
ContentServiceTest.php refactor: rename namespace Core\Agentic to Core\Mod\Agentic 2026-01-27 16:12:58 +00:00
IpRestrictionServiceTest.php refactor(tests): convert IpRestrictionServiceTest to Pest functional syntax 2026-01-29 18:50:41 +00:00
PlanTemplateServiceTest.php feat(security): switch API key to Argon2id with comprehensive tests 2026-01-29 13:36:53 +00:00
SecurityTest.php security: fix SQL injection and add workspace scoping to MCP tools 2026-01-29 12:21:01 +00:00