Merge pull request #1994 from aeberhardo/bug/putenv

Fixes variable export for Windows.
This commit is contained in:
Taylor Otwell 2013-05-15 12:52:16 -07:00
commit 6a1d203baf
1 changed files with 1 additions and 1 deletions

View File

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