Skip to content

Commit 6ec48dc

Browse files
committed
Revert changes in BaseTestCase
1 parent b06a7b6 commit 6ec48dc

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

tests/Doctrine/ODM/MongoDB/Tests/BaseTestCase.php

+2-8
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,8 @@ protected static function createMetadataDriverImpl(): MappingDriver
129129

130130
protected static function createTestDocumentManager(): DocumentManager
131131
{
132-
$config = static::getConfiguration();
133-
$driverOptions = [];
134-
135-
if ($config->getAutoEncryption()) {
136-
$driverOptions['autoEncryption'] = $config->getAutoEncryption();
137-
}
138-
139-
$client = new Client(self::getUri(), [], $driverOptions);
132+
$config = static::getConfiguration();
133+
$client = new Client(self::getUri());
140134

141135
return DocumentManager::create($client, $config);
142136
}

0 commit comments

Comments
 (0)