putenv in test runner.
This commit is contained in:
@@ -88,6 +88,7 @@ class Runner extends Task {
|
||||
// strings with spaces inside should be wrapped in quotes.
|
||||
$esc_path = escapeshellarg($path);
|
||||
|
||||
putenv('LARAVEL_ENV='.Request::env());
|
||||
passthru('LARAVEL_ENV='.Request::env().' phpunit --configuration '.$esc_path, $status);
|
||||
|
||||
@unlink($path);
|
||||
|
||||
Reference in New Issue
Block a user