Skip to content

Commit d7cac3f

Browse files
committed
Skip XML config tests with Symfony 8.0
1 parent d4f240d commit d7cac3f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/DependencyInjection/XmlMonologExtensionTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ class XmlMonologExtensionTest extends FixtureMonologExtensionTestCase
2424
{
2525
protected function loadFixture(ContainerBuilder $container, string $fixture)
2626
{
27+
if (!class_exists(XmlFileLoader::class)) {
28+
$this->markTestSkipped('The XML configuration has been removed in Symfony 8.0.');
29+
}
30+
2731
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/Fixtures/xml'));
2832
$loader->load($fixture.'.xml');
2933
}

0 commit comments

Comments
 (0)