|
13 | 13 | use function array_flip; |
14 | 14 | use function glob; |
15 | 15 | use function str_starts_with; |
| 16 | +use function strtolower; |
16 | 17 |
|
17 | 18 | /** |
18 | 19 | * Unified test format spec tests. |
@@ -40,6 +41,34 @@ class UnifiedSpecTest extends FunctionalTestCase |
40 | 41 | 'retryable-reads/retryable reads handshake failures' => 'Handshakes are not retried (CDRIVER-4532)', |
41 | 42 | 'retryable-writes/retryable writes handshake failures' => 'Handshakes are not retried (CDRIVER-4532)', |
42 | 43 | 'crud/bypassDocumentValidation' => 'bypassDocumentValidation is handled by libmongoc (PHPLIB-1576)', |
| 44 | + // The rawData option will not be implemented |
| 45 | + 'collection-management/listCollections-rawData' => 'rawData option will not be implemented', |
| 46 | + 'crud/aggregate-rawData' => 'rawData option will not be implemented', |
| 47 | + 'crud/BulkWrite deleteMany-rawData' => 'rawData option will not be implemented', |
| 48 | + 'crud/BulkWrite deleteOne-rawData' => 'rawData option will not be implemented', |
| 49 | + 'crud/BulkWrite replaceOne-rawData' => 'rawData option will not be implemented', |
| 50 | + 'crud/BulkWrite updateMany-rawData' => 'rawData option will not be implemented', |
| 51 | + 'crud/BulkWrite updateOne-rawData' => 'rawData option will not be implemented', |
| 52 | + 'crud/client bulkWrite delete-rawData' => 'rawData option will not be implemented', |
| 53 | + 'crud/client bulkWrite replaceOne-rawData' => 'rawData option will not be implemented', |
| 54 | + 'crud/client bulkWrite update-rawData' => 'rawData option will not be implemented', |
| 55 | + 'crud/count-rawData' => 'rawData option will not be implemented', |
| 56 | + 'crud/countDocuments-rawData' => 'rawData option will not be implemented', |
| 57 | + 'crud/db-aggregate-rawData' => 'rawData option will not be implemented', |
| 58 | + 'crud/deleteMany-rawData' => 'rawData option will not be implemented', |
| 59 | + 'crud/deleteOne-rawData' => 'rawData option will not be implemented', |
| 60 | + 'crud/distinct-rawData' => 'rawData option will not be implemented', |
| 61 | + 'crud/estimatedDocumentCount-rawData' => 'rawData option will not be implemented', |
| 62 | + 'crud/find-rawData' => 'rawData option will not be implemented', |
| 63 | + 'crud/findOneAndDelete-rawData' => 'rawData option will not be implemented', |
| 64 | + 'crud/findOneAndReplace-rawData' => 'rawData option will not be implemented', |
| 65 | + 'crud/findOneAndUpdate-rawData' => 'rawData option will not be implemented', |
| 66 | + 'crud/insertMany-rawData' => 'rawData option will not be implemented', |
| 67 | + 'crud/insertOne-rawData' => 'rawData option will not be implemented', |
| 68 | + 'crud/replaceOne-rawData' => 'rawData option will not be implemented', |
| 69 | + 'crud/updateMany-rawData' => 'rawData option will not be implemented', |
| 70 | + 'crud/updateOne-rawData' => 'rawData option will not be implemented', |
| 71 | + 'index-management/index management-rawData' => 'rawData option will not be implemented', |
43 | 72 | ]; |
44 | 73 |
|
45 | 74 | /** @var array<string, string> */ |
@@ -107,7 +136,7 @@ public function setUp(): void |
107 | 136 | } |
108 | 137 |
|
109 | 138 | foreach (self::$incompleteTestGroups as $testGroup => $reason) { |
110 | | - if (str_starts_with($this->dataDescription(), $testGroup)) { |
| 139 | + if (str_starts_with(strtolower($this->dataDescription()), strtolower($testGroup))) { |
111 | 140 | $this->markTestIncomplete($reason); |
112 | 141 | } |
113 | 142 | } |
|
0 commit comments