Skip to content

Commit d50f912

Browse files
committed
-
1 parent 27d4571 commit d50f912

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

tests/DocumentationExamplesTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1861,9 +1861,7 @@ public function testQueryableEncryption(): void
18611861
$this->markTestSkipped('Explicit encryption tests require MongoDB 7.0 or later');
18621862
}
18631863

1864-
if (! $this->isEnterprise()) {
1865-
$this->markTestSkipped('Automatic encryption requires MongoDB Enterprise');
1866-
}
1864+
$this->skipIfClientSideEncryptionIsNotSupported();
18671865

18681866
// Fetch names for the database and collection under test
18691867
$collectionName = $this->getCollectionName();

tests/SpecTests/ClientSideEncryption/Prose21_AutomaticDataEncryptionKeysTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ public function setUp(): void
3131
{
3232
parent::setUp();
3333

34-
if (! $this->isEnterprise()) {
35-
$this->markTestSkipped('Automatic data encryption key tests require MongoDB enterprise');
36-
}
34+
$this->skipIfClientSideEncryptionIsNotSupported();
3735

3836
if ($this->isStandalone() || ($this->isShardedCluster() && ! $this->isShardedClusterUsingReplicasets())) {
3937
$this->markTestSkipped('Automatic data encryption key tests require replica sets');

0 commit comments

Comments
 (0)