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:
@@ -47,7 +47,7 @@ class TelegramBotHandlerTest extends TestCase
|
||||
|
||||
$this->handler = $this->getMockBuilder(TelegramBotHandler::class)
|
||||
->setConstructorArgs($constructorArgs)
|
||||
->setMethods(['send'])
|
||||
->onlyMethods(['send'])
|
||||
->getMock();
|
||||
|
||||
$this->handler->expects($this->atLeast(1))
|
||||
|
Reference in New Issue
Block a user