From 42762fffa982b681551d52e52264806d6408d5f2 Mon Sep 17 00:00:00 2001 From: euromark Date: Thu, 23 Feb 2012 15:23:59 +0100 Subject: [PATCH] fix broken test --- lib/Cake/Test/Case/Controller/Component/CookieComponentTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Test/Case/Controller/Component/CookieComponentTest.php b/lib/Cake/Test/Case/Controller/Component/CookieComponentTest.php index 6af12402a..80d7ee59f 100644 --- a/lib/Cake/Test/Case/Controller/Component/CookieComponentTest.php +++ b/lib/Cake/Test/Case/Controller/Component/CookieComponentTest.php @@ -401,7 +401,7 @@ class CookieComponentTest extends CakeTestCase { 'version' => '1.2.0.x', 'tag' => 'CakePHP Rocks!')); - $this->Cookie->startup(null); + $this->Cookie->startup(new CookieComponentTestController()); $data = $this->Cookie->read('Encrytped_array'); $expected = array('name' => 'CakePHP', 'version' => '1.2.0.x', 'tag' => 'CakePHP Rocks!');