mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 12:47:39 +02:00
Update TagProcessorTest.php
This commit is contained in:
@@ -20,8 +20,10 @@ class TagProcessorTest extends TestCase
|
|||||||
*/
|
*/
|
||||||
public function testProcessor()
|
public function testProcessor()
|
||||||
{
|
{
|
||||||
$processor = new TagProcessor();
|
$tags = array(1, 2, 3);
|
||||||
|
$processor = new TagProcessor($tags);
|
||||||
$record = $processor($this->getRecord());
|
$record = $processor($this->getRecord());
|
||||||
$this->assertArrayHasKey('tags', $record);
|
|
||||||
|
$this->assertEquals($tags, $record['extra']['tags']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user