diff --git a/cake/tests/cases/libs/view/helpers/session.test.php b/cake/tests/cases/libs/view/helpers/session.test.php index fabcc210e76..3e9e6f7609a 100644 --- a/cake/tests/cases/libs/view/helpers/session.test.php +++ b/cake/tests/cases/libs/view/helpers/session.test.php @@ -183,29 +183,6 @@ function testError() { $this->assertEqual($result, $expected); } -/** - * testDisabling method - * - * @access public - * @return void - */ - function testDisabling() { - Configure::write('Session.start', false); - CakeSession::destroy(); - $this->Session = new SessionHelper(); - $this->assertFalse($this->Session->check('test')); - $this->assertFalse($this->Session->read('test')); - - $this->Session->read('CauseError'); - $this->assertFalse($this->Session->error()); - - ob_start(); - $this->assertFalse($this->Session->flash('bare')); - $result = ob_get_contents(); - ob_clean(); - $this->assertEquals($result, ''); - } - /** * testValid method *