Merge pull request #378 from shama/patch-debug-flag

Add debug flag to flush output
This commit is contained in:
Mark Story 2011-12-15 05:43:36 -08:00
commit 33773a92dc

View file

@ -147,6 +147,9 @@ abstract class CakeTestCase extends PHPUnit_Framework_TestCase {
ClassRegistry::flush();
}
Configure::write($this->_configure);
if (isset($_GET['debug']) && $_GET['debug']) {
ob_flush();
}
}
/**