Skip to content
This repository
Browse code

fix broken test

  • Loading branch information...
commit 42762fffa982b681551d52e52264806d6408d5f2 1 parent 4511208
Mark authored markstory committed
2  lib/Cake/Test/Case/Controller/Component/CookieComponentTest.php
@@ -401,7 +401,7 @@ public function testReadingCookieDataOnStartup() {
401 401
 						'version' => '1.2.0.x',
402 402
 						'tag' => 'CakePHP Rocks!'));
403 403
 
404  
-		$this->Cookie->startup(null);
  404
+		$this->Cookie->startup(new CookieComponentTestController());
405 405
 
406 406
 		$data = $this->Cookie->read('Encrytped_array');
407 407
 		$expected = array('name' => 'CakePHP', 'version' => '1.2.0.x', 'tag' => 'CakePHP Rocks!');

0 notes on commit 42762ff

Please sign in to comment.
Something went wrong with that request. Please try again.