Browse Source

Merge pull request #1994 from aeberhardo/bug/putenv

Fixes variable export for Windows.
Taylor Otwell 11 years ago
parent
commit
6a1d203baf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/cli/tasks/test/runner.php

+ 1 - 1
laravel/cli/tasks/test/runner.php

@@ -89,7 +89,7 @@ class Runner extends Task {
 		$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);