mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Experimental change: restoring the error handler to steps back in the stack to let PHPUnit take over when running tests
This commit is contained in:
parent
809550087c
commit
88d21fbea4
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@ class CakeTestSuite extends PHPUnit_Framework_TestSuite {
|
|||
*/
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
restore_error_handler();
|
||||
restore_error_handler();
|
||||
if (!$this->_fixtureManager) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue