Permalink
Browse files

Revert "Added TestCakeSession::clear() to CakeSessionTest teardown."

This reverts commit b346ac9.
  • Loading branch information...
Thomas Ploch
Thomas Ploch committed Mar 24, 2012
1 parent b346ac9 commit 68e4e0e7ae99dc0913e0aa9de1c8c95a270dcc57
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()) {
- TestCakeSession::clear();
+ session_write_close();
}
unset($_SESSION);
parent::teardown();

0 comments on commit 68e4e0e

Please sign in to comment.