1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-04 12:17:35 +02:00

Added referer to extra parameter

This commit is contained in:
Tiago Ribeiro
2012-04-20 16:44:33 +01:00
parent d348b2c252
commit c8c231f177
3 changed files with 22 additions and 1 deletions

View File

@@ -64,6 +64,7 @@ class AbstractProcessingHandlerTest extends TestCase
'REQUEST_URI' => '',
'REQUEST_METHOD' => '',
'REMOTE_ADDR' => '',
'REQUEST_URI' => '',
)));
$handledRecord = null;
$handler->expects($this->once())
@@ -73,6 +74,6 @@ class AbstractProcessingHandlerTest extends TestCase
}))
;
$handler->handle($this->getRecord());
$this->assertEquals(3, count($handledRecord['extra']));
$this->assertEquals(4, count($handledRecord['extra']));
}
}