We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 161a8e2 commit bbb13f9Copy full SHA for bbb13f9
1 file changed
tests/Model/IndexInfoFunctionalTest.php
@@ -28,8 +28,8 @@ public function testIs2dSphere(): void
28
$this->assertEquals($indexName, $index->getName());
29
$this->assertTrue($index->is2dSphere());
30
31
- // MongoDB 3.2+ reports index version 3
32
- $this->assertEquals(3, $index['2dsphereIndexVersion']);
+ // MongoDB 3.2+ reports index version 3, MongoDB 8.3+ reports version 4
+ $this->assertGreaterThanOrEqual(3, $index['2dsphereIndexVersion']);
33
}
34
35
public function testIsText(): void
0 commit comments