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:
@@ -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']);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user