@@ -182,8 +182,9 @@ public function provideTests()
182
182
}
183
183
184
184
/**
185
- * Prose test: Data key and double encryption
185
+ * Prose test 2 : Data Key and Double Encryption
186
186
*
187
+ * @see https://github.com/mongodb/specifications/tree/master/source/client-side-encryption/tests#data-key-and-double-encryption
187
188
* @dataProvider dataKeyProvider
188
189
*/
189
190
public function testDataKeyAndDoubleEncryption (string $ providerName , $ masterKey ): void
@@ -320,8 +321,9 @@ public static function dataKeyProvider()
320
321
}
321
322
322
323
/**
323
- * Prose test: External Key Vault
324
+ * Prose test 3 : External Key Vault
324
325
*
326
+ * @see https://github.com/mongodb/specifications/tree/master/source/client-side-encryption/tests#external-key-vault-test
325
327
* @testWith [false]
326
328
* [true]
327
329
*/
@@ -471,8 +473,9 @@ static function (self $test, Collection $collection, array $document): void {
471
473
}
472
474
473
475
/**
474
- * Prose test: BSON size limits and batch splitting
476
+ * Prose test 4 : BSON Size Limits and Batch Splitting
475
477
*
478
+ * @see https://github.com/mongodb/specifications/tree/master/source/client-side-encryption/tests#bson-size-limits-and-batch-splitting
476
479
* @dataProvider provideBSONSizeLimitsAndBatchSplittingTests
477
480
*/
478
481
public function testBSONSizeLimitsAndBatchSplitting (Closure $ test ): void
@@ -505,7 +508,9 @@ public function testBSONSizeLimitsAndBatchSplitting(Closure $test): void
505
508
}
506
509
507
510
/**
508
- * Prose test: Views are prohibited
511
+ * Prose test 5: Views Are Prohibited
512
+ *
513
+ * @see https://github.com/mongodb/specifications/tree/master/source/client-side-encryption/tests#views-are-prohibited
509
514
*/
510
515
public function testViewsAreProhibited (): void
511
516
{
@@ -535,8 +540,9 @@ public function testViewsAreProhibited(): void
535
540
}
536
541
537
542
/**
538
- * Prose test: BSON Corpus
543
+ * Prose test 6 : BSON Corpus
539
544
*
545
+ * @see https://github.com/mongodb/specifications/tree/master/source/client-side-encryption/tests#corpus-test
540
546
* @testWith [true]
541
547
* [false]
542
548
*/
@@ -647,8 +653,9 @@ public function testCorpus($schemaMap = true): void
647
653
}
648
654
649
655
/**
650
- * Prose test: Custom Endpoint
656
+ * Prose test 7 : Custom Endpoint
651
657
*
658
+ * @see https://github.com/mongodb/specifications/tree/master/source/client-side-encryption/tests#custom-endpoint-test
652
659
* @dataProvider customEndpointProvider
653
660
*/
654
661
public function testCustomEndpoint (Closure $ test ): void
@@ -811,7 +818,9 @@ static function (self $test, ClientEncryption $clientEncryption, ClientEncryptio
811
818
}
812
819
813
820
/**
814
- * Prose test: Bypass spawning mongocryptd (via mongocryptdBypassSpawn)
821
+ * Prose test 8: Bypass Spawning mongocryptd (via mongocryptdBypassSpawn)
822
+ *
823
+ * @see https://github.com/mongodb/specifications/tree/master/source/client-side-encryption/tests#via-mongocryptdbypassspawn
815
824
*/
816
825
public function testBypassSpawningMongocryptdViaBypassSpawn (): void
817
826
{
@@ -844,7 +853,9 @@ public function testBypassSpawningMongocryptdViaBypassSpawn(): void
844
853
}
845
854
846
855
/**
847
- * Bypass spawning mongocryptd (via bypassAutoEncryption)
856
+ * Prose test 8: Bypass spawning mongocryptd (via bypassAutoEncryption)
857
+ *
858
+ * @see https://github.com/mongodb/specifications/tree/master/source/client-side-encryption/tests#via-bypassautoencryption
848
859
*/
849
860
public function testBypassSpawningMongocryptdViaBypassAutoEncryption (): void
850
861
{
@@ -870,7 +881,7 @@ public function testBypassSpawningMongocryptdViaBypassAutoEncryption(): void
870
881
}
871
882
872
883
/**
873
- * Prose test: Invalid KMS Certificate
884
+ * Prose test 10: KMS TLS Tests ( Invalid KMS Certificate)
874
885
*
875
886
* @see https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/tests/README.rst#invalid-kms-certificate
876
887
*/
@@ -898,7 +909,7 @@ public function testInvalidKmsCertificate(): void
898
909
}
899
910
900
911
/**
901
- * Prose test: Invalid Hostname in KMS Certificate
912
+ * Prose test 10: KMS TLS Tests ( Invalid Hostname in KMS Certificate)
902
913
*
903
914
* @see https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/tests/README.rst#invalid-hostname-in-kms-certificate
904
915
*/
@@ -926,7 +937,7 @@ public function testInvalidHostnameInKmsCertificate(): void
926
937
}
927
938
928
939
/**
929
- * Prose test: KMS TLS Options
940
+ * Prose test 11 : KMS TLS Options
930
941
*
931
942
* @see https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/tests/README.rst#kms-tls-options-tests
932
943
* @dataProvider provideKmsTlsOptionsTests
0 commit comments