mirror of
https://github.com/Seldaek/monolog.git
synced 2025-07-30 18:00:17 +02:00
Deprecated setMethods() usages moving to onlyMethods()
This commit is contained in:
@@ -26,7 +26,7 @@ class DoctrineCouchDBHandlerTest extends TestCase
|
||||
public function testHandle()
|
||||
{
|
||||
$client = $this->getMockBuilder('Doctrine\\CouchDB\\CouchDBClient')
|
||||
->setMethods(['postDocument'])
|
||||
->onlyMethods(['postDocument'])
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
|
||||
|
Reference in New Issue
Block a user