mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Removing invalid test
This commit is contained in:
parent
bc005cd014
commit
b1d93377b6
1 changed files with 1 additions and 3 deletions
|
@ -201,9 +201,7 @@ class SessionComponentTest extends CakeTestCase {
|
|||
$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');
|
||||
|
|
Loading…
Reference in a new issue