Commit f9eadbcd authored by Fabien Potencier's avatar Fabien Potencier

Merge branch '1.3'

* 1.3:
  fixed deprecation handler in tests
parents 1e4d9608 f7a7809d
......@@ -27,6 +27,19 @@ use Symfony\Component\HttpKernel\Kernel;
*/
class MonologServiceProviderTest extends \PHPUnit_Framework_TestCase
{
private $currErrorHandler;
protected function setUp()
{
$this->currErrorHandler = set_error_handler('var_dump');
restore_error_handler();
}
protected function tearDown()
{
set_error_handler($this->currErrorHandler);
}
public function testRequestLogging()
{
$app = $this->getApplication();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment