Skip to content

Commit 390cfa1

Browse files
committed
Fix tests
1 parent b339195 commit 390cfa1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/Type/Symfony/ExtensionTest.php

+5-1
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,12 @@ public function dataFileAsserts(): iterable
4343
}
4444

4545
yield from $this->gatherAssertTypes(__DIR__ . '/data/serializer.php');
46+
47+
if (class_exists('Symfony\Component\HttpFoundation\InputBag')) {
48+
yield from $this->gatherAssertTypes(__DIR__ . '/data/input_bag_from_request.php');
49+
}
50+
4651
yield from $this->gatherAssertTypes(__DIR__ . '/data/denormalizer.php');
47-
yield from $this->gatherAssertTypes(__DIR__ . '/data/input_bag_from_request.php');
4852
}
4953

5054
/**

0 commit comments

Comments
 (0)