diff --git a/tests/LaravelApp/app/Console/Commands/TestCommand.php b/tests/LaravelApp/app/Console/Commands/TestCommand.php index 9cbb7cd7..e7012559 100644 --- a/tests/LaravelApp/app/Console/Commands/TestCommand.php +++ b/tests/LaravelApp/app/Console/Commands/TestCommand.php @@ -28,9 +28,9 @@ protected function binary() } if ('phpdbg' === PHP_SAPI) { - return [PHP_BINARY, '-qrr', __DIR__ . '/../../../../../vendor/bin/phpunit']; + return [PHP_BINARY, '-qrr', __DIR__ . '/../../../../../' . $command]; } - return [PHP_BINARY, __DIR__ . '/../../../../../vendor/bin/phpunit']; + return [PHP_BINARY, __DIR__ . '/../../../../../' . $command]; } } diff --git a/tests/Unit/Adapters/ArtisanTestCommandTest.php b/tests/Unit/Adapters/ArtisanTestCommandTest.php index 3124998a..4954c927 100644 --- a/tests/Unit/Adapters/ArtisanTestCommandTest.php +++ b/tests/Unit/Adapters/ArtisanTestCommandTest.php @@ -22,6 +22,8 @@ public function testEnv(): void ]); $this->runTests(['./tests/LaravelApp/artisan', 'test', '--group', 'environment']); + // $this->runTests(['./tests/LaravelApp/artisan', 'test', '--parallel', '--group', 'environment']); + // $this->runTests(['./tests/LaravelApp/artisan', 'test', '--parallel', '--recreate-databases', '--group', 'environment']); } /** @test */ @@ -42,6 +44,8 @@ public function testEnvTesting(): void ]); $this->runTests(['./tests/LaravelApp/artisan', 'test', '--group', 'environmentTesting']); + // $this->runTests(['./tests/LaravelApp/artisan', 'test', '--parallel', '--group', 'environmentTesting']); + // $this->runTests(['./tests/LaravelApp/artisan', 'test', '--parallel', '--recreate-databases', '--group', 'environmentTesting']); } /**