Skip to content

Commit 1da4e46

Browse files
committed
Add missing code in atlas search detection
1 parent 1fd1d1b commit 1da4e46

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: tests/TestCase.php

+2
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ public function skipIfSearchIndexManagementIsNotSupported(): void
7676
case 40324:
7777
// MongoDB 7: PlanExecutor error during aggregation :: caused by :: Search index commands are only supported with Atlas.
7878
case 115:
79+
// MongoDB 7: $listSearchIndexes stage is only allowed on MongoDB Atlas
80+
case 6047401:
7981
// MongoDB 8: Using Atlas Search Database Commands and the $listSearchIndexes aggregation stage requires additional configuration.
8082
case 31082:
8183
self::markTestSkipped('Search index management is not supported on this server');

0 commit comments

Comments
 (0)