mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-01 02:40:24 +02:00
Added test for getDefaultFormatter
This commit is contained in:
@@ -54,4 +54,9 @@ class ZendMonitorHandlerTest extends TestCase
|
||||
$zendMonitor->handle($record);
|
||||
}
|
||||
|
||||
public function testGetDefaultFormatterReturnsNormalizerFormatter()
|
||||
{
|
||||
$zendMonitor = new ZendMonitorHandler();
|
||||
$this->assertInstanceOf('Monolog\Formatter\NormalizerFormatter', $zendMonitor->getDefaultFormatter());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user