mirror of
https://github.com/Seldaek/monolog.git
synced 2025-02-24 06:52:34 +01:00
Create TagProcessorTest.php
This commit is contained in:
parent
34c39ee771
commit
5c10c2c395
27
tests/Monolog/Processor/TagProcessorTest.php
Normal file
27
tests/Monolog/Processor/TagProcessorTest.php
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of the Monolog package.
|
||||||
|
*
|
||||||
|
* (c) Jordi Boggiano <j.boggiano@seld.be>
|
||||||
|
*
|
||||||
|
* For the full copyright and license information, please view the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace Monolog\Processor;
|
||||||
|
|
||||||
|
use Monolog\TestCase;
|
||||||
|
|
||||||
|
class TagProcessorTest extends TestCase
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @covers Monolog\Processor\TagProcessor::__invoke
|
||||||
|
*/
|
||||||
|
public function testProcessor()
|
||||||
|
{
|
||||||
|
$processor = new TagProcessor();
|
||||||
|
$record = $processor($this->getRecord());
|
||||||
|
$this->assertArrayHasKey('tags', $record);
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user