Skip to content

Commit 6a274c3

Browse files
committed
tests
1 parent e2ad623 commit 6a274c3

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,4 @@
9494
},
9595
"minimum-stability": "dev",
9696
"prefer-stable": true
97-
}
97+
}

tests/TestCase.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,11 @@ protected function defineEnvironment($app)
4141
{
4242
$app['config']->set('database.default', 'testing');
4343

44-
$app['config']->set('media.ffmpeg.ffmpeg_binaries', '/opt/homebrew/bin/ffmpeg');
45-
$app['config']->set('media.ffprobe.ffprobe_binaries', '/opt/homebrew/bin/ffprobe');
44+
if (PHP_OS_FAMILY === 'Darwin') {
45+
$app['config']->set('media.ffmpeg.ffmpeg_binaries', '/opt/homebrew/bin/ffmpeg');
46+
$app['config']->set('media.ffprobe.ffprobe_binaries', '/opt/homebrew/bin/ffprobe');
47+
}
48+
4649
}
4750

4851
protected function defineDatabaseMigrations()

0 commit comments

Comments
 (0)