From 4046313ecd4934e09a621ee930ee31f88262475e Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 28 Mar 2013 17:14:45 -0500 Subject: [PATCH] fix environment on tests. --- laravel/cli/tasks/test/runner.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/cli/tasks/test/runner.php b/laravel/cli/tasks/test/runner.php index 0d9fb4e6..eb1a8625 100644 --- a/laravel/cli/tasks/test/runner.php +++ b/laravel/cli/tasks/test/runner.php @@ -88,7 +88,7 @@ class Runner extends Task { // 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);