1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-11 23:54:04 +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() public function testWeValidateFacilities()
{ {
$handler = new SyslogUdpHandler("ip", null, "php", "invalidFacility"); $handler = new SyslogUdpHandler("ip", null, "invalidFacility");
} }
public function testWeSplitIntoLines() public function testWeSplitIntoLines()
@@ -33,7 +33,7 @@ class SyslogUdpHandlerTest extends TestCase
$host = gethostname(); $host = gethostname();
$handler = $this->getMockBuilder('\Monolog\Handler\SyslogUdpHandler') $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')) ->setMethods(array('getDateTime'))
->getMock(); ->getMock();