Commit 806287a6 authored by Fabien Potencier's avatar Fabien Potencier

fixed monolog tests as the output depends on the version of Symfony

parent 12571d34
......@@ -40,7 +40,9 @@ class MonologServiceProviderTest extends \PHPUnit_Framework_TestCase
$this->assertTrue($app['monolog.handler']->hasInfo('> GET /foo'));
$this->assertTrue($app['monolog.handler']->hasInfo('< 200'));
$this->assertTrue($app['monolog.handler']->hasInfo('Matched route "GET_foo" (parameters: "_controller": "{}", "_route": "GET_foo")'));
$records = $app['monolog.handler']->getRecords();
$this->assertContains('Matched route "GET_foo"', $records[0]['message']);
}
public function testManualLogging()
......
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