php-mcp/tests
Snider ac7fe0ea7a test(mcp): add comprehensive Workspace Context tests (P2-014)
Add extensive Pest tests for workspace context security covering:
- WorkspaceContext resolution from headers and authentication
- Automatic workspace scoping for queries
- MissingWorkspaceContextException handling
- Workspace boundary enforcement
- Cross-workspace data isolation and query prevention
- Context injection via middleware
- Edge cases including concurrent contexts and request isolation

Also update Pest.php to include src/Mcp/Tests/Unit directory.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 19:39:24 +00:00
..
Feature Initial commit 2026-01-26 20:49:02 +00:00
Unit test(mcp): add comprehensive SQL Query Validator tests (P2-013) 2026-01-29 19:38:40 +00:00
Pest.php test(mcp): add comprehensive Workspace Context tests (P2-014) 2026-01-29 19:39:24 +00:00
TestCase.php Initial commit 2026-01-26 20:49:02 +00:00