1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-07-30 01:40:30 +02:00

Make sure this works on any hostname

This commit is contained in:
Jordi Boggiano
2017-06-19 00:42:25 +02:00
parent 86e4993283
commit 5e8bb7dfbe

View File

@@ -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',