1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 21:26:43 +02:00

Undo this LocalSocket fiasco, fix tests for latest phpunit

This commit is contained in:
Jordi Boggiano
2016-09-25 16:07:01 +02:00
parent 3dc7a79a3e
commit 28742b656f
17 changed files with 456 additions and 459 deletions

View File

@@ -43,7 +43,10 @@ class GelfHandlerTest extends TestCase
protected function getMessagePublisher()
{
return $this->createMock('Gelf\Publisher', ['publish'], [], '', false);
return $this->getMockBuilder('Gelf\Publisher')
->setMethods(['publish'])
->disableOriginalConstructor()
->getMock();
}
public function testDebug()