Add debug flag to flush output

This commit is contained in:
Kyle Robinson Young 2011-12-14 22:48:41 -08:00
parent 9d6ea57c30
commit b3396538b7

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();
}
}
/**