Permalink
Browse files

fix broken test

  • Loading branch information...
1 parent 4511208 commit 42762fffa982b681551d52e52264806d6408d5f2 @dereuromark dereuromark committed with markstory Feb 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Test/Case/Controller/Component/CookieComponentTest.php
View
2 lib/Cake/Test/Case/Controller/Component/CookieComponentTest.php
@@ -401,7 +401,7 @@ public function testReadingCookieDataOnStartup() {
'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!');

0 comments on commit 42762ff

Please sign in to comment.