diff --git a/tests/ci b/tests/ci index f24c17bcd72d..ee01f359d0af 100755 --- a/tests/ci +++ b/tests/ci @@ -13,7 +13,7 @@ require_once 'vendor/autoload.php'; * - Tests\Support\UuidTest::it_can_not_create_a_uuid_from_null * - ... */ -$process = new \Symfony\Component\Process\Process([__DIR__ . '/vendor/bin/phpunit', '--list-tests']); +$process = new \Symfony\Component\Process\Process([__DIR__ . '/../vendor/bin/phpunit', '--list-tests']); $process->mustRun(); $tests = \Illuminate\Support\Str::of($process->getOutput()) @@ -35,7 +35,7 @@ $tests = \Illuminate\Support\Str::of($process->getOutput()) * Run phpunit with a filter: * phpunit --filter 'TestClass|AnotherTestClass|...' */ -$process = new \Symfony\Component\Process\Process(['./vendor/bin/phpunit', '--filter', $tests->join('|')], timeout: null); +$process = new \Symfony\Component\Process\Process(['/.././vendor/bin/phpunit', '--filter', $tests->join('|')], timeout: null); $process->start(); // Make sure we have live data output