Commit 26c7d59e authored by Henrik Bjornskov's avatar Henrik Bjornskov

Fix Monolog error where newer versions does not allow an empty stream

parent bce2a5dc
...@@ -66,7 +66,7 @@ class MonologServiceProviderTest extends \PHPUnit_Framework_TestCase ...@@ -66,7 +66,7 @@ class MonologServiceProviderTest extends \PHPUnit_Framework_TestCase
$app->register(new MonologServiceProvider()); $app->register(new MonologServiceProvider());
$app['monolog.formatter'] = new JsonFormatter(); $app['monolog.formatter'] = new JsonFormatter();
$app['monolog.logfile'] = null; $app['monolog.logfile'] = "php://memory";
$this->assertInstanceOf('Monolog\Formatter\JsonFormatter', $app['logger']->popHandler()->getFormatter()); $this->assertInstanceOf('Monolog\Formatter\JsonFormatter', $app['logger']->popHandler()->getFormatter());
} }
......
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