mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Add debug flag to flush output
This commit is contained in:
parent
9d6ea57c30
commit
b3396538b7
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue