Skip to content

Commit

Permalink
Revert "Added TestCakeSession::clear() to CakeSessionTest teardown."
Browse files Browse the repository at this point in the history
This reverts commit b346ac9.
  • Loading branch information
Thomas Ploch committed Mar 24, 2012
1 parent b346ac9 commit 68e4e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/Model/Datasource/CakeSessionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public function setUp() {
*/
public function teardown() {
if (TestCakeSession::started()) {
TestCakeSession::clear();
session_write_close();
}
unset($_SESSION);
parent::teardown();
Expand Down

0 comments on commit 68e4e0e

Please sign in to comment.