mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-11 15:44:34 +02:00
Fix microseconds support on 7.1, and enable it by default as 7.1 has no perf cost anymore
This commit is contained in:
@@ -215,10 +215,10 @@ class RavenHandlerTest extends TestCase
|
||||
$this->getRecord(Logger::INFO, 'information 2'),
|
||||
);
|
||||
|
||||
$logFormatter = $this->getMock('Monolog\\Formatter\\FormatterInterface');
|
||||
$logFormatter = $this->createMock('Monolog\\Formatter\\FormatterInterface');
|
||||
$logFormatter->expects($this->once())->method('formatBatch');
|
||||
|
||||
$formatter = $this->getMock('Monolog\\Formatter\\FormatterInterface');
|
||||
$formatter = $this->createMock('Monolog\\Formatter\\FormatterInterface');
|
||||
$formatter->expects($this->once())->method('format')->with($this->callback(function ($record) use ($records) {
|
||||
return $record['message'] == 'error 1';
|
||||
}));
|
||||
|
Reference in New Issue
Block a user