diff --git a/lib/Cake/Test/Case/Controller/Component/SessionComponentTest.php b/lib/Cake/Test/Case/Controller/Component/SessionComponentTest.php index fa7bae08b..b885dfcfe 100644 --- a/lib/Cake/Test/Case/Controller/Component/SessionComponentTest.php +++ b/lib/Cake/Test/Case/Controller/Component/SessionComponentTest.php @@ -115,7 +115,7 @@ class SessionComponentTest extends CakeTestCase { */ public function setUp() { parent::setUp(); - $_SESSION = null; + $_SESSION = array(); $this->ComponentCollection = new ComponentCollection(); }