Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
opt
/
php-8.1
/
share
/
test
/
mongodb
/
tests
/
clientEncryption
/
//opt/php-8.1/share/test/mongodb/tests/clientEncryption/clientEncryption-ctor-002.phpt
--TEST-- MongoDB\Driver\ClientEncryption::__construct(): Drivers MUST NOT error if tlsDisableOCSPEndpointCheck is set --SKIPIF-- <?php require __DIR__ . "/../utils/basic-skipif.inc"; ?> <?php skip_if_not_libmongocrypt(); ?> --FILE-- <?php require_once __DIR__ . "/../utils/basic.inc"; $clientEncryption = new MongoDB\Driver\ClientEncryption([ 'keyVaultClient' => create_test_manager(), 'keyVaultNamespace' => CSFLE_KEY_VAULT_NS, 'kmsProviders' => ['aws' => ['accessKeyId' => 'foo', 'secretAccessKey' => 'bar']], 'tlsOptions' => ['aws' => ['tlsDisableOCSPEndpointCheck' => true]], ]); var_dump($clientEncryption); ?> ===DONE=== <?php exit(0); ?> --EXPECTF-- object(MongoDB\Driver\ClientEncryption)#%d (%d) { } ===DONE===