1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-19 07:36:17 +02:00
Files
php-monolog/tests/Monolog/Processor/RequestTokenProcessorTest.php

28 lines
640 B
PHP

<?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 RequestTokenProcessorTest extends TestCase
{
/**
* @covers Monolog\Processor\RequestTokenProcessor::__invoke
*/
public function testProcessor()
{
$processor = new RequestTokenProcessor();
$record = $processor($this->getRecord());
$this->assertArrayHasKey('request_token', $record['extra']);
}
}