Permalink
Browse files

Clear configure at the end of each test.

Fixes #2767
  • Loading branch information...
1 parent f990ecf commit 9fbd57331f47c19111f79e66fb5fe48123c545f2 @markstory markstory committed Apr 15, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 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();

0 comments on commit 9fbd573

Please sign in to comment.