We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b06a7b6 commit 6ec48dcCopy full SHA for 6ec48dc
tests/Doctrine/ODM/MongoDB/Tests/BaseTestCase.php
@@ -129,14 +129,8 @@ protected static function createMetadataDriverImpl(): MappingDriver
129
130
protected static function createTestDocumentManager(): DocumentManager
131
{
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);
+ $config = static::getConfiguration();
+ $client = new Client(self::getUri());
140
141
return DocumentManager::create($client, $config);
142
}
0 commit comments