summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordi Boggiano <j.boggiano@seld.be>2017-06-19 00:42:25 +0200
committerJordi Boggiano <j.boggiano@seld.be>2017-06-19 02:00:36 +0200
commit2ea3d95ca22e6feb89a77da30b94781ece723c00 (patch)
treed2e51e41849c8df4d639af599ad846a849c107cc
parentd84af8db3ca6d4432d95b1abb9f0542f1a17f4cb (diff)
downloadmonolog-2ea3d95ca22e6feb89a77da30b94781ece723c00.zip
monolog-2ea3d95ca22e6feb89a77da30b94781ece723c00.tar.gz
monolog-2ea3d95ca22e6feb89a77da30b94781ece723c00.tar.bz2
Make sure this works on any hostname
-rw-r--r--tests/Monolog/Formatter/GelfMessageFormatterTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Monolog/Formatter/GelfMessageFormatterTest.php b/tests/Monolog/Formatter/GelfMessageFormatterTest.php
index 889dc54..4a24761 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',