Merge pull request #1994 from aeberhardo/bug/putenv
Fixes variable export for Windows.
This commit is contained in:
@@ -89,7 +89,7 @@ class Runner extends Task {
|
||||
$esc_path = escapeshellarg($path);
|
||||
|
||||
putenv('LARAVEL_ENV='.Request::env());
|
||||
passthru('LARAVEL_ENV='.Request::env().' phpunit --configuration '.$esc_path, $status);
|
||||
passthru('phpunit --configuration '.$esc_path, $status);
|
||||
|
||||
@unlink($path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user