Merge pull request #1994 from aeberhardo/bug/putenv
Fixes variable export for Windows.
This commit is contained in:
commit
6a1d203baf
|
@ -89,7 +89,7 @@ protected function test()
|
||||||
$esc_path = escapeshellarg($path);
|
$esc_path = escapeshellarg($path);
|
||||||
|
|
||||||
putenv('LARAVEL_ENV='.Request::env());
|
putenv('LARAVEL_ENV='.Request::env());
|
||||||
passthru('LARAVEL_ENV='.Request::env().' phpunit --configuration '.$esc_path, $status);
|
passthru('phpunit --configuration '.$esc_path, $status);
|
||||||
|
|
||||||
@unlink($path);
|
@unlink($path);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue