Skip to content

Commit e92fe3f

Browse files
committed
Skip queryable encryption tests on standalone servers
1 parent 5aff53f commit e92fe3f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/ExamplesTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,10 @@ public function testQueryableEncryptionExamples(string $file, string $expectedOu
360360

361361
$this->skipIfServerVersion('<', '7.0.0', 'Queryable encryption tests require MongoDB 7.0 or later');
362362

363+
if ($this->isStandalone()) {
364+
$this->markTestSkipped('Encrypted collections are not supported on standalone');
365+
}
366+
363367
/* Ensure that the key vault, collection under test, and any metadata
364368
* collections are cleaned up before and after the example is run. */
365369
$this->dropCollection('test', 'coll', ['encryptedFields' => []]);

0 commit comments

Comments
 (0)