1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-10 23:24:02 +02:00

Fix tests

This commit is contained in:
Jordi Boggiano
2017-03-17 22:54:56 +01:00
committed by GitHub
parent aeb65fa050
commit 24894709d1

View File

@@ -23,7 +23,7 @@ class SyslogUdpHandlerTest extends TestCase
*/
public function testWeValidateFacilities()
{
$handler = new SyslogUdpHandler("ip", null, "php", "invalidFacility");
$handler = new SyslogUdpHandler("ip", null, "invalidFacility");
}
public function testWeSplitIntoLines()
@@ -33,7 +33,7 @@ class SyslogUdpHandlerTest extends TestCase
$host = gethostname();
$handler = $this->getMockBuilder('\Monolog\Handler\SyslogUdpHandler')
->setConstructorArgs(array("127.0.0.1", 514, "php", "authpriv"))
->setConstructorArgs(array("127.0.0.1", 514, "authpriv"))
->setMethods(array('getDateTime'))
->getMock();