test: add tests for McpHealthService #8

Open
opened 2026-02-21 00:59:20 +00:00 by Clotho · 0 comments
Member

Summary

The McpHealthService (src/Mcp/Services/McpHealthService.php) has no unit tests.

What needs testing

  • Healthy status when all dependencies are available
  • Unhealthy status when database is unreachable
  • Individual component health checks
  • Overall health aggregation
  • Health check response format

Files

  • src/Mcp/Services/McpHealthService.php
  • src/Mcp/Tests/Unit/McpHealthServiceTest.php (to be created)
## Summary The `McpHealthService` (src/Mcp/Services/McpHealthService.php) has no unit tests. ## What needs testing - Healthy status when all dependencies are available - Unhealthy status when database is unreachable - Individual component health checks - Overall health aggregation - Health check response format ## Files - `src/Mcp/Services/McpHealthService.php` - `src/Mcp/Tests/Unit/McpHealthServiceTest.php` (to be created)
Clotho added the
discovery
testing
labels 2026-02-21 00:59:20 +00:00
Snider added the
clotho
label 2026-02-21 01:23:27 +00:00
Charon added the
agent-ready
label 2026-02-21 01:30:19 +00:00
Sign in to join this conversation.
No description provided.