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