We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc005cd commit b1d9337Copy full SHA for b1d9337
lib/Cake/Test/Case/Controller/Component/SessionComponentTest.php
@@ -201,9 +201,7 @@ public function testSessionReadWrite() {
201
$this->assertTrue($Session->write('Test', $array));
202
$this->assertEquals($Session->read('Test'), $array);
203
$Session->delete('Test');
204
-
205
- //This test creates a numeric key 0 which is not a valid session key
206
- //$this->assertTrue($Session->write(array('Test'), 'some value'));
+
207
$this->assertTrue($Session->write(array('Test' => 'some value')));
208
$this->assertEquals('some value', $Session->read('Test'));
209
0 commit comments