Skip to content

Commit af1fdc3

Browse files
committed
Fix test with cross-components dependency
1 parent 70b0f97 commit af1fdc3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Bridge/Doctrine/Tests/SchemaListener/DoctrineDbalCacheAdapterSchemaSubscriberTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ class DoctrineDbalCacheAdapterSchemaSubscriberTest extends TestCase
2323
{
2424
public function testPostGenerateSchema()
2525
{
26+
if (!class_exists(DoctrineDbalAdapter::class)) {
27+
$this->markTestSkipped('This test requires symfony/cache >=5.4');
28+
}
29+
2630
$schema = new Schema();
2731
$dbalConnection = $this->createMock(Connection::class);
2832
$entityManager = $this->createMock(EntityManagerInterface::class);

0 commit comments

Comments
 (0)