mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
fix broken test
This commit is contained in:
parent
45112088a1
commit
42762fffa9
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ class CookieComponentTest extends CakeTestCase {
|
||||||
'version' => '1.2.0.x',
|
'version' => '1.2.0.x',
|
||||||
'tag' => 'CakePHP Rocks!'));
|
'tag' => 'CakePHP Rocks!'));
|
||||||
|
|
||||||
$this->Cookie->startup(null);
|
$this->Cookie->startup(new CookieComponentTestController());
|
||||||
|
|
||||||
$data = $this->Cookie->read('Encrytped_array');
|
$data = $this->Cookie->read('Encrytped_array');
|
||||||
$expected = array('name' => 'CakePHP', 'version' => '1.2.0.x', 'tag' => 'CakePHP Rocks!');
|
$expected = array('name' => 'CakePHP', 'version' => '1.2.0.x', 'tag' => 'CakePHP Rocks!');
|
||||||
|
|
Loading…
Add table
Reference in a new issue