|
@@ -1730,6 +1730,8 @@ class MongoCollectionTest extends TestCase
|
|
|
|
|
|
|
|
public function testGroup()
|
|
public function testGroup()
|
|
|
{
|
|
{
|
|
|
|
|
+ $this->skipTestIf(version_compare($this->getServerVersion(), '4.2.0', '>='), 'Test does not apply to MongoDB >= 4.2.');
|
|
|
|
|
+
|
|
|
$collection = $this->getCollection();
|
|
$collection = $this->getCollection();
|
|
|
|
|
|
|
|
$document1 = ['a' => 2];
|
|
$document1 = ['a' => 2];
|