Commit 4046313e authored by Taylor Otwell's avatar Taylor Otwell

fix environment on tests.

parent 41254383
......@@ -88,7 +88,7 @@ class Runner extends Task {
// strings with spaces inside should be wrapped in quotes.
$esc_path = escapeshellarg($path);
passthru('phpunit --configuration '.$esc_path, $status);
passthru('LARAVEL_ENV='.Request::env().' phpunit --configuration '.$esc_path, $status);
@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