mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Small correction to previous test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7290 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
7bad69a2d0
commit
4fa9872969
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class CookieComponentTest extends CakeTestCase {
|
|||
}
|
||||
|
||||
function testWritePlainCookieArray() {
|
||||
$this->Controller->Cookie->write(array('name' => 'CakePHP', 'version' => '1.2.0.x', 'tag' => 'CakePHP Rocks!'), false);
|
||||
$this->Controller->Cookie->write(array('name' => 'CakePHP', 'version' => '1.2.0.x', 'tag' => 'CakePHP Rocks!'), null, false);
|
||||
|
||||
$this->assertEqual($this->Controller->Cookie->read('name'), 'CakePHP');
|
||||
$this->assertEqual($this->Controller->Cookie->read('version'), '1.2.0.x');
|
||||
|
|
Loading…
Reference in a new issue