Skip to content

Commit

Permalink
Remove Session helepr disabling tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
predominant authored and markstory committed Jul 28, 2010
1 parent 86a7263 commit 3430930
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions cake/tests/cases/libs/view/helpers/session.test.php
Expand Up @@ -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
*
Expand Down

0 comments on commit 3430930

Please sign in to comment.