1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-20 20:01:52 +02:00

Fix tests, invalid UTF-8 is now returning �s instead of being converted to possibly valid ISO-8559-15

This commit is contained in:
Jordi Boggiano
2020-05-11 22:18:29 +02:00
parent eb84930e70
commit f279285232
3 changed files with 6 additions and 8 deletions

View File

@@ -176,6 +176,6 @@ class LogstashFormatterTest extends TestCase
$this->assertEquals('ERROR', $message['level']);
$this->assertEquals('test', $message['type']);
$this->assertEquals('hostname', $message['host']);
$this->assertEquals('ÖWN; FBCR/OrangeEspaña; Versão/4.0; Färist', $message['extra']['user_agent']);
$this->assertEquals('<EFBFBD>WN; FBCR/OrangeEspa<EFBFBD>a; Vers<EFBFBD>o/4.0; F<EFBFBD>rist', $message['extra']['user_agent']);
}
}