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:
@@ -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())
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user