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

Update WebProcessorTest.php

This commit is contained in:
Matthias Pigulla
2013-10-09 00:26:02 +02:00
parent a2b77b2750
commit 7c0edceadc

View File

@@ -23,6 +23,7 @@ class WebProcessorTest extends TestCase
'REQUEST_METHOD' => 'C',
'HTTP_REFERER' => 'D',
'SERVER_NAME' => 'F',
'UNIQUE_ID' => 'G',
);
$processor = new WebProcessor($server);
@@ -32,6 +33,7 @@ class WebProcessorTest extends TestCase
$this->assertEquals($server['REQUEST_METHOD'], $record['extra']['http_method']);
$this->assertEquals($server['HTTP_REFERER'], $record['extra']['referrer']);
$this->assertEquals($server['SERVER_NAME'], $record['extra']['server']);
$this->assertEquals($server['UNIQUE_ID'], $record['extra']['unique_id']);
}
public function testProcessorDoNothingIfNoRequestUri()