Commit 678b92ef authored by Taylor Otwell's avatar Taylor Otwell

putenv in test runner.

parent 9871281b
...@@ -88,6 +88,7 @@ class Runner extends Task { ...@@ -88,6 +88,7 @@ class Runner extends Task {
// strings with spaces inside should be wrapped in quotes. // strings with spaces inside should be wrapped in quotes.
$esc_path = escapeshellarg($path); $esc_path = escapeshellarg($path);
putenv('LARAVEL_ENV='.Request::env());
passthru('LARAVEL_ENV='.Request::env().' phpunit --configuration '.$esc_path, $status); passthru('LARAVEL_ENV='.Request::env().' phpunit --configuration '.$esc_path, $status);
@unlink($path); @unlink($path);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment