Skip to content

Commit b920d78

Browse files
Remove unnecessary markTestSkipped for MonologBundle
Since MonologBundle is now in require-dev, the class is always available during tests, making this skip condition unreachable.
1 parent ddf1694 commit b920d78

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/mcp-bundle/tests/DependencyInjection/McpBundleTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use PHPUnit\Framework\Attributes\DataProvider;
1515
use PHPUnit\Framework\TestCase;
1616
use Symfony\AI\McpBundle\McpBundle;
17-
use Symfony\Bundle\MonologBundle\MonologBundle;
1817
use Symfony\Component\DependencyInjection\ContainerBuilder;
1918

2019
class McpBundleTest extends TestCase
@@ -50,10 +49,6 @@ public function testCustomConfiguration()
5049

5150
public function testMcpLoggerServiceIsCreated()
5251
{
53-
if (!class_exists(MonologBundle::class)) {
54-
$this->markTestSkipped('MonologBundle is not installed');
55-
}
56-
5752
$container = $this->buildContainer([]);
5853

5954
$this->assertTrue($container->hasDefinition('monolog.logger.mcp'));

0 commit comments

Comments
 (0)