From 2ea3d95ca22e6feb89a77da30b94781ece723c00 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 19 Jun 2017 00:42:25 +0200 Subject: [PATCH] Make sure this works on any hostname --- tests/Monolog/Formatter/GelfMessageFormatterTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Monolog/Formatter/GelfMessageFormatterTest.php b/tests/Monolog/Formatter/GelfMessageFormatterTest.php index 889dc542..4a247616 100644 --- a/tests/Monolog/Formatter/GelfMessageFormatterTest.php +++ b/tests/Monolog/Formatter/GelfMessageFormatterTest.php @@ -226,7 +226,7 @@ class GelfMessageFormatterTest extends \PHPUnit_Framework_TestCase public function testFormatWithUnlimitedLength() { - $formatter = new GelfMessageFormatter(null, null, 'ctxt_', PHP_INT_MAX); + $formatter = new GelfMessageFormatter('LONG_SYSTEM_NAME', null, 'ctxt_', PHP_INT_MAX); $record = array( 'level' => Logger::ERROR, 'level_name' => 'ERROR',