Browse Source

Make sure this works on any hostname

Jordi Boggiano 8 years ago
parent
commit
5e8bb7dfbe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/Monolog/Formatter/GelfMessageFormatterTest.php

+ 1 - 1
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',