From 6abc2207b2b640cf930e080083809b83689691bc Mon Sep 17 00:00:00 2001 From: Gerardo Ibarra Date: Wed, 23 Dec 2020 15:08:49 -0300 Subject: [PATCH] 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) --- src/Laravel/Commands/PestDuskCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Laravel/Commands/PestDuskCommand.php b/src/Laravel/Commands/PestDuskCommand.php index cfa9f8c31..44067d855 100644 --- a/src/Laravel/Commands/PestDuskCommand.php +++ b/src/Laravel/Commands/PestDuskCommand.php @@ -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']; } }