diff --git a/cake/tests/cases/libs/controller/components/auth.test.php b/cake/tests/cases/libs/controller/components/auth.test.php index 275c1e884..38798036f 100644 --- a/cake/tests/cases/libs/controller/components/auth.test.php +++ b/cake/tests/cases/libs/controller/components/auth.test.php @@ -962,6 +962,8 @@ class AuthTest extends CakeTestCase { $backup = $_SERVER['HTTP_REFERER']; } $_SERVER['HTTP_REFERER'] = false; + $_ENV['HTTP_REFERER'] = false; + putenv('HTTP_REFERER='); $this->Controller->Session->write('Auth', array( 'AuthUser' => array('id' => '1', 'username' => 'nate')