Skip to content

Commit b1d9337

Browse files
committed
Removing invalid test
1 parent bc005cd commit b1d9337

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/Cake/Test/Case/Controller/Component/SessionComponentTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,7 @@ public function testSessionReadWrite() {
201201
$this->assertTrue($Session->write('Test', $array));
202202
$this->assertEquals($Session->read('Test'), $array);
203203
$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'));
204+
207205
$this->assertTrue($Session->write(array('Test' => 'some value')));
208206
$this->assertEquals('some value', $Session->read('Test'));
209207
$Session->delete('Test');

0 commit comments

Comments
 (0)