1
0
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:
Jordi Boggiano
2013-12-26 02:54:08 -08:00

View File

@@ -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())