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:
nate 2008-06-27 06:54:40 +00:00
parent 7bad69a2d0
commit 4fa9872969

View file

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