@@ -228,7 +228,7 @@ public function invalidSchemaDependencyCompositionDataProvider(): array
228228 ['credit_card ' => 12345 ],
229229 <<<ERROR
230230Invalid schema which is dependant on credit_card:
231- - Invalid value for Credit_card_Dependency_(.*) declined by composition constraint.
231+ - Invalid value for SchemaDependencyTest_\w+_credit_card_Dependency declined by composition constraint.
232232 Requires to match all composition elements but matched 0 elements.
233233 - Composition element #1: Failed
234234 \* Missing required value for name
@@ -242,7 +242,7 @@ public function invalidSchemaDependencyCompositionDataProvider(): array
242242 ['credit_card ' => 12345 , 'age ' => 42 ],
243243 <<<ERROR
244244Invalid schema which is dependant on credit_card:
245- - Invalid value for Credit_card_Dependency_(.*) declined by composition constraint.
245+ - Invalid value for SchemaDependencyTest_\w+_credit_card_Dependency declined by composition constraint.
246246 Requires to match all composition elements but matched 1 elements.
247247 - Composition element #1: Failed
248248 \* Missing required value for name
@@ -255,7 +255,7 @@ public function invalidSchemaDependencyCompositionDataProvider(): array
255255 ['credit_card ' => 12345 , 'name ' => false , 'age ' => 42 ],
256256 <<<ERROR
257257Invalid schema which is dependant on credit_card:
258- - Invalid value for Credit_card_Dependency_(.*) declined by composition constraint.
258+ - Invalid value for SchemaDependencyTest_\w+_credit_card_Dependency declined by composition constraint.
259259 Requires to match all composition elements but matched 1 elements.
260260 - Composition element #1: Failed
261261 \* Invalid type for name. Requires string, got boolean
0 commit comments