Przeglądaj źródła

Merge pull request #288 from bzikarsky/mongo-test-fix

Fixes MongoDBHandler unit-test
Jordi Boggiano 12 lat temu
rodzic
commit
caee29ac20
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      tests/Monolog/Handler/MongoDBHandlerTest.php

+ 1 - 1
tests/Monolog/Handler/MongoDBHandlerTest.php

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