From 0f3c054dff866aa687ab07572b731fb2ba32e703 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 28 Oct 2013 10:41:17 +0100 Subject: [PATCH] Fix tests for 5.3 --- tests/Monolog/Formatter/GelfMessageFormatterTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Monolog/Formatter/GelfMessageFormatterTest.php b/tests/Monolog/Formatter/GelfMessageFormatterTest.php index 068f1a49..d8867d9f 100644 --- a/tests/Monolog/Formatter/GelfMessageFormatterTest.php +++ b/tests/Monolog/Formatter/GelfMessageFormatterTest.php @@ -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'