Skip to content

Commit

Permalink
Removing invalid test
Browse files Browse the repository at this point in the history
  • Loading branch information
phpnut committed Dec 29, 2015
1 parent bc005cd commit b1d9337
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -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');
Expand Down

0 comments on commit b1d9337

Please sign in to comment.