fix broken test

This commit is contained in:
euromark 2012-02-23 15:23:59 +01:00 committed by mark_story
parent 45112088a1
commit 42762fffa9

View file

@ -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!');