mirror of
https://github.com/pestphp/pest.git
synced 2026-07-23 01:50:03 +02:00
change binary path pest:dusk
In windows not work full path is used in [https://github.com/laravel/dusk/blob/7e05b3ca4f17afcba528c4c5a2390a2dd9949b38/src/Console/DuskCommand.php#L91](https://github.com/laravel/dusk/blob/7e05b3ca4f17afcba528c4c5a2390a2dd9949b38/src/Console/DuskCommand.php#L91) and [https://github.com/nunomaduro/collision/blob/163d5c2bd8fe5072b942627980d20831dfd9de78/src/Adapters/Laravel/Commands/TestCommand.php#L108](https://github.com/nunomaduro/collision/blob/163d5c2bd8fe5072b942627980d20831dfd9de78/src/Adapters/Laravel/Commands/TestCommand.php#L108)
This commit is contained in:
@@ -33,9 +33,9 @@ final class PestDuskCommand extends DuskCommand
|
||||
protected function binary()
|
||||
{
|
||||
if ('phpdbg' === PHP_SAPI) {
|
||||
return [PHP_BINARY, '-qrr', 'vendor/bin/pest'];
|
||||
return [PHP_BINARY, '-qrr', 'vendor/pestphp/pest/bin/pest'];
|
||||
}
|
||||
|
||||
return [PHP_BINARY, 'vendor/bin/pest'];
|
||||
return [PHP_BINARY, 'vendor/pestphp/pest/bin/pest'];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user