mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-08 22:26:41 +02:00
Deprecated setMethods() usages moving to onlyMethods()
This commit is contained in:
@@ -43,7 +43,7 @@ class ElasticaHandlerTest extends TestCase
|
||||
|
||||
// base mock Elastica Client object
|
||||
$this->client = $this->getMockBuilder('Elastica\Client')
|
||||
->setMethods(['addDocuments'])
|
||||
->onlyMethods(['addDocuments'])
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
}
|
||||
|
Reference in New Issue
Block a user