Skip to content
This repository has been archived by the owner on Jul 4, 2018. It is now read-only.

Commit

Permalink
fixed monolog tests as the output depends on the version of Symfony
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jan 20, 2015
1 parent 12571d3 commit 806287a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Silex/Tests/Provider/MonologServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ public function testRequestLogging()

$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()
Expand Down

0 comments on commit 806287a

Please sign in to comment.