From 88d21fbea44dd05d04b5eb7e3f8963bd25f2f804 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Lorenzo=20Rodr=C3=ADguez?= Date: Sun, 9 May 2010 18:15:51 -0430 Subject: [PATCH] Experimental change: restoring the error handler to steps back in the stack to let PHPUnit take over when running tests --- cake/tests/lib/cake_test_suite.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cake/tests/lib/cake_test_suite.php b/cake/tests/lib/cake_test_suite.php index 7ac3ce63c..66ae74b18 100644 --- a/cake/tests/lib/cake_test_suite.php +++ b/cake/tests/lib/cake_test_suite.php @@ -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; }