fix environment on tests.

This commit is contained in:
Taylor Otwell 2013-03-28 17:14:45 -05:00
parent 4125438391
commit 4046313ecd
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ protected function test()
// 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);