Commit ec80cadd authored by Fabien Potencier's avatar Fabien Potencier

fixed logic

parent d1b77c70
......@@ -44,7 +44,7 @@ class MonologServiceProviderTest extends \PHPUnit_Framework_TestCase
$this->assertTrue($app['monolog.handler']->hasDebug('< 200'));
$records = $app['monolog.handler']->getRecords();
if (Kernel::VERSION_ID >= 30100) {
if (Kernel::VERSION_ID < 30100) {
$this->assertContains('Matched route "GET_foo"', $records[0]['message']);
} else {
$this->assertContains('Matched route "{route}".', $records[0]['message']);
......
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