Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clear configure at the end of each test.

Fixes #2767
  • Loading branch information...
commit 9fbd57331f47c19111f79e66fb5fe48123c545f2 1 parent f990ecf
@markstory markstory authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Cake/TestSuite/CakeTestCase.php
View
1  lib/Cake/TestSuite/CakeTestCase.php
@@ -146,6 +146,7 @@ public function tearDown() {
if (class_exists('ClassRegistry', false)) {
ClassRegistry::flush();
}
+ Configure::clear();
Configure::write($this->_configure);
if (isset($_GET['debug']) && $_GET['debug']) {
ob_flush();
Please sign in to comment.
Something went wrong with that request. Please try again.