mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-18 15:39:53 +00:00
Merge pull request #378 from shama/patch-debug-flag
Add debug flag to flush output
This commit is contained in:
commit
33773a92dc
1 changed files with 3 additions and 0 deletions
|
@ -147,6 +147,9 @@ abstract class CakeTestCase extends PHPUnit_Framework_TestCase {
|
||||||
ClassRegistry::flush();
|
ClassRegistry::flush();
|
||||||
}
|
}
|
||||||
Configure::write($this->_configure);
|
Configure::write($this->_configure);
|
||||||
|
if (isset($_GET['debug']) && $_GET['debug']) {
|
||||||
|
ob_flush();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue