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