Skip to content

Commit bb3aa7d

Browse files
committed
test: missing skip
1 parent 0dd4cbb commit bb3aa7d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/Functional/JsonStreamerTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,10 @@ public function testJsonStreamerWriteJsonLd(): void
272272

273273
public function testJsonStreamerWriteJson(): void
274274
{
275+
if (false === (class_exists(ControllerHelper::class) && class_exists(JsonStreamWriter::class))) {
276+
$this->markTestSkipped('JsonStreamer component not installed.');
277+
}
278+
275279
$container = static::getContainer();
276280
if ('mongodb' === $container->getParameter('kernel.environment')) {
277281
$this->markTestSkipped();

0 commit comments

Comments
 (0)