1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-11 23:54:04 +02:00
This commit is contained in:
Jordi Boggiano
2014-04-23 09:20:48 +02:00
parent 0d72125865
commit 0b654cec86
8 changed files with 19 additions and 21 deletions

View File

@@ -13,7 +13,6 @@ namespace Monolog\Handler;
use Monolog\TestCase;
use Monolog\Logger;
use Monolog\Formatter\LineFormatter;
/**
* @author Robert Kaufmann III <rok3@rok3.me>
@@ -43,10 +42,10 @@ class LogEntriesHandlerTest extends TestCase
public function testWriteBatchContent()
{
$records = array(
$this->getRecord(),
$this->getRecord(),
$this->getRecord()
$records = array(
$this->getRecord(),
$this->getRecord(),
$this->getRecord()
);
$this->createHandler();
$this->handler->handleBatch($records);

View File

@@ -72,7 +72,7 @@ class RavenHandlerTest extends TestCase
$this->assertEquals($ravenClient::WARNING, $ravenClient->lastData['level']);
$this->assertContains($record['message'], $ravenClient->lastData['message']);
}
public function testTag()
{
$ravenClient = $this->getRavenClient();

View File

@@ -23,7 +23,7 @@ class TagProcessorTest extends TestCase
$tags = array(1, 2, 3);
$processor = new TagProcessor($tags);
$record = $processor($this->getRecord());
$this->assertEquals($tags, $record['extra']['tags']);
}
}