8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab74399 commit a083f66Copy full SHA for a083f66
src/Symfony/Component/Validator/Tests/Constraints/VideoValidatorTest.php
@@ -38,6 +38,13 @@ protected function createValidator(): VideoValidator
38
39
protected function setUp(): void
40
{
41
+ // This test should be skipped if ffmpeg is not available on the system
42
+ exec('which ffmpeg', $output, $status);
43
+
44
+ if (0 !== $status) {
45
+ $this->markTestSkipped('FFMpeg is not available.');
46
+ }
47
48
parent::setUp();
49
50
$this->video = __DIR__.'/Fixtures/test.mp4';
0 commit comments