diff options
author | Jordi Boggiano <j.boggiano@seld.be> | 2017-06-19 00:42:25 +0200 |
---|---|---|
committer | Jordi Boggiano <j.boggiano@seld.be> | 2017-06-19 00:42:25 +0200 |
commit | 5e8bb7dfbe58867a3e53621acb102ff265e5fdd9 (patch) | |
tree | 17d0bf77faa184640c932eaaaf621eed888d3cc4 | |
parent | 86e49932832da5db53c780a14b12ae499b174009 (diff) | |
download | monolog-5e8bb7dfbe58867a3e53621acb102ff265e5fdd9.zip monolog-5e8bb7dfbe58867a3e53621acb102ff265e5fdd9.tar.gz monolog-5e8bb7dfbe58867a3e53621acb102ff265e5fdd9.tar.bz2 |
Make sure this works on any hostname
-rw-r--r-- | tests/Monolog/Formatter/GelfMessageFormatterTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Monolog/Formatter/GelfMessageFormatterTest.php b/tests/Monolog/Formatter/GelfMessageFormatterTest.php index 958883f..5a3df7f 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', |