mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-10 23:24:02 +02:00
Merge pull request #288 from bzikarsky/mongo-test-fix
Fixes MongoDBHandler unit-test
This commit is contained in:
@@ -26,7 +26,7 @@ class MongoDBHandlerTest extends TestCase
|
||||
|
||||
public function testHandle()
|
||||
{
|
||||
$mongo = $this->getMock('Mongo', array('selectCollection'));
|
||||
$mongo = $this->getMock('Mongo', array('selectCollection'), array(), '', false);
|
||||
$collection = $this->getMock('stdClass', array('save'));
|
||||
|
||||
$mongo->expects($this->once())
|
||||
|
Reference in New Issue
Block a user