mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-10 15:14:14 +02:00
Rename logFormatter to batchFormatter, refs #203
This commit is contained in:
@@ -100,7 +100,7 @@ class RavenHandlerTest extends TestCase
|
||||
$formatter->expects($this->once())->method('format');
|
||||
|
||||
$handler = $this->getHandler($this->getRavenClient());
|
||||
$handler->setLogFormatter($logFormatter);
|
||||
$handler->setBatchFormatter($logFormatter);
|
||||
$handler->setFormatter($formatter);
|
||||
$handler->handleBatch($records);
|
||||
}
|
||||
@@ -119,13 +119,13 @@ class RavenHandlerTest extends TestCase
|
||||
$handler->handleBatch($records);
|
||||
}
|
||||
|
||||
public function testGetSetLogFormatter()
|
||||
public function testGetSetBatchFormatter()
|
||||
{
|
||||
$ravenClient = $this->getRavenClient();
|
||||
$handler = $this->getHandler($ravenClient);
|
||||
|
||||
$handler->setLogFormatter($formatter = new LineFormatter());
|
||||
$this->assertSame($formatter, $handler->getLogFormatter());
|
||||
$handler->setBatchFormatter($formatter = new LineFormatter());
|
||||
$this->assertSame($formatter, $handler->getBatchFormatter());
|
||||
}
|
||||
|
||||
private function methodThatThrowsAnException()
|
||||
|
Reference in New Issue
Block a user