mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 21:26:43 +02:00
Deprecated setMethods() usages moving to onlyMethods()
This commit is contained in:
@@ -44,7 +44,7 @@ class GelfHandlerTest extends TestCase
|
||||
protected function getMessagePublisher()
|
||||
{
|
||||
return $this->getMockBuilder('Gelf\Publisher')
|
||||
->setMethods(['publish'])
|
||||
->onlyMethods(['publish'])
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
}
|
||||
|
Reference in New Issue
Block a user