mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-11 23:54:04 +02:00
Fix tests
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user