Permalink
Browse files

Added TestCakeSession::clear() to CakeSessionTest teardown.

  • Loading branch information...
1 parent fda0651 commit b346ac961c2520d8ea9e7ed882666aefdf1b78e1 Thomas Ploch committed Mar 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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();

0 comments on commit b346ac9

Please sign in to comment.