fix environment on tests.
This commit is contained in:
parent
4125438391
commit
4046313ecd
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue