mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-02 19:27:37 +02:00
Fix tests for 5.3
This commit is contained in:
@@ -129,11 +129,11 @@ class GelfMessageFormatterTest extends \PHPUnit_Framework_TestCase
|
|||||||
'level' => Logger::ERROR,
|
'level' => Logger::ERROR,
|
||||||
'level_name' => 'ERROR',
|
'level_name' => 'ERROR',
|
||||||
'channel' => 'meh',
|
'channel' => 'meh',
|
||||||
'context' => array('from' => 'logger', 'exception' => [
|
'context' => array('from' => 'logger', 'exception' => array(
|
||||||
'class' => '\Exception',
|
'class' => '\Exception',
|
||||||
'file' => '/some/file/in/dir.php:56',
|
'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"),
|
'datetime' => new \DateTime("@0"),
|
||||||
'extra' => array(),
|
'extra' => array(),
|
||||||
'message' => 'log'
|
'message' => 'log'
|
||||||
|
Reference in New Issue
Block a user