소스 검색

Make sure this works on any hostname

Jordi Boggiano 8 년 전
부모
커밋
2ea3d95ca2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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',