Skip to content
This repository
Browse code

Clear configure at the end of each test.

Fixes #2767
  • Loading branch information...
commit 9fbd57331f47c19111f79e66fb5fe48123c545f2 1 parent f990ecf
Mark Story authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  lib/Cake/TestSuite/CakeTestCase.php
1  lib/Cake/TestSuite/CakeTestCase.php
@@ -146,6 +146,7 @@ public function tearDown() {
146 146
 		if (class_exists('ClassRegistry', false)) {
147 147
 			ClassRegistry::flush();
148 148
 		}
  149
+		Configure::clear();
149 150
 		Configure::write($this->_configure);
150 151
 		if (isset($_GET['debug']) && $_GET['debug']) {
151 152
 			ob_flush();

0 notes on commit 9fbd573

Please sign in to comment.
Something went wrong with that request. Please try again.