Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added TestCakeSession::clear() to CakeSessionTest teardown.

  • Loading branch information...
commit b346ac961c2520d8ea9e7ed882666aefdf1b78e1 1 parent fda0651
@tPl0ch tPl0ch authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Test/Case/Model/Datasource/CakeSessionTest.php
View
2  lib/Cake/Test/Case/Model/Datasource/CakeSessionTest.php
@@ -108,7 +108,7 @@ public function setUp() {
*/
public function teardown() {
if (TestCakeSession::started()) {
- session_write_close();
+ TestCakeSession::clear();
}
unset($_SESSION);
parent::teardown();
Please sign in to comment.
Something went wrong with that request. Please try again.