1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-07-31 18:30:15 +02:00

Update TagProcessorTest.php

This commit is contained in:
ipsq
2014-04-01 17:10:41 +02:00
parent 9a7209dd5e
commit 7f4eb35fd6

View File

@@ -20,8 +20,10 @@ class TagProcessorTest extends TestCase
*/
public function testProcessor()
{
$processor = new TagProcessor();
$tags = array(1, 2, 3);
$processor = new TagProcessor($tags);
$record = $processor($this->getRecord());
$this->assertArrayHasKey('tags', $record);
$this->assertEquals($tags, $record['extra']['tags']);
}
}