Skip to content

Commit

Permalink
Fix tests to remove checking of session ID directly on Session Helper.
Browse files Browse the repository at this point in the history
  • Loading branch information
predominant authored and markstory committed Jul 28, 2010
1 parent 17688a6 commit 04b67e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cake/libs/cake_session.php
Expand Up @@ -307,7 +307,7 @@ function __error($errorNumber) {
*/
public static function error() {
if (self::$lastError) {
return self::$__error(self::$lastError);
return self::__error(self::$lastError);
}
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion cake/tests/cases/libs/view/helpers/session.test.php
Expand Up @@ -163,7 +163,7 @@ function testFlash() {
*/
function testID() {
$id = session_id();
$result = $this->Session->id();
$result = CakeSession::id();
$this->assertEqual($id, $result);
}

Expand Down

0 comments on commit 04b67e5

Please sign in to comment.