Commit 9291f830 authored by Fabien Potencier's avatar Fabien Potencier

fixed test that did not restore the error handler properly

parent 1cc87a3f
...@@ -551,7 +551,7 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase ...@@ -551,7 +551,7 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase
{ {
$app = new Application(); $app = new Application();
ErrorHandler::register(); ErrorHandler::register(null, false);
$app['monolog.logfile'] = 'php://memory'; $app['monolog.logfile'] = 'php://memory';
$app->register(new MonologServiceProvider()); $app->register(new MonologServiceProvider());
$app->get('/foo/', function () { return 'ok'; }); $app->get('/foo/', function () { return 'ok'; });
......
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