Skip to content
Permalink
Browse files

Removing invalid test

  • Loading branch information...
phpnut committed Dec 29, 2015
1 parent bc005cd commit b1d93377b6a2bafbce95661407044082abd8d4dd
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/Cake/Test/Case/Controller/Component/SessionComponentTest.php
@@ -201,9 +201,7 @@ public function testSessionReadWrite() {
$this->assertTrue($Session->write('Test', $array));
$this->assertEquals($Session->read('Test'), $array);
$Session->delete('Test');
//This test creates a numeric key 0 which is not a valid session key
//$this->assertTrue($Session->write(array('Test'), 'some value'));
$this->assertTrue($Session->write(array('Test' => 'some value')));
$this->assertEquals('some value', $Session->read('Test'));
$Session->delete('Test');

0 comments on commit b1d9337

Please sign in to comment.
You can’t perform that action at this time.