mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-20 11:51:32 +02:00
Fix phpunit deprecations
This commit is contained in:
@@ -43,7 +43,7 @@ class MongoDBHandlerTest extends TestCase
|
||||
$mongodb->expects($this->once())
|
||||
->method('selectCollection')
|
||||
->with('db', 'collection')
|
||||
->will($this->returnValue($collection));
|
||||
->willReturn($collection);
|
||||
|
||||
$record = $this->getRecord();
|
||||
$expected = $record->toArray();
|
||||
|
Reference in New Issue
Block a user