feat: site-status test tool and core integration

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01At3V6SjwbMe6eMzVGW3Hs7
This commit is contained in:
2026-09-25 15:36:53 +02:00
co-authored by Claude Opus 5.5
parent b54d55e5e1
commit fb4787c032
5 changed files with 209 additions and 0 deletions
@@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace LIT\MCP\Tests\Unit\Integrations\Core;
use LIT\MCP\Integrations\Core\CoreIntegration;
use LIT\MCP\Tests\Unit\TestCase;
final class CoreIntegrationTest extends TestCase
{
public function testIsAlwaysAvailableAndProvidesGuideAndStatus(): void
{
$core = new CoreIntegration(dirname(__DIR__, 3) . '/Fixtures/guides');
self::assertSame('core', $core->id());
self::assertTrue($core->isAvailable());
self::assertSame(
['lit/guide', 'lit/site-status'],
array_map(static fn ($a) => $a->name(), $core->abilities())
);
}
}