1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-07-31 10:20:14 +02:00

Fix tests for 5.3

This commit is contained in:
Jordi Boggiano
2013-10-28 10:41:17 +01:00
parent 1a4f16f175
commit 0f3c054dff

View File

@@ -129,11 +129,11 @@ class GelfMessageFormatterTest extends \PHPUnit_Framework_TestCase
'level' => Logger::ERROR,
'level_name' => 'ERROR',
'channel' => 'meh',
'context' => array('from' => 'logger', 'exception' => [
'context' => array('from' => 'logger', 'exception' => array(
'class' => '\Exception',
'file' => '/some/file/in/dir.php:56',
'trace' => ['/some/file/1.php:23', '/some/file/2.php:3']
]),
'trace' => array('/some/file/1.php:23', '/some/file/2.php:3')
)),
'datetime' => new \DateTime("@0"),
'extra' => array(),
'message' => 'log'