fix environment on tests.

This commit is contained in:
Taylor Otwell
2013-03-28 17:14:45 -05:00
parent 4125438391
commit 4046313ecd

View File

@@ -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);