We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcc66e3 commit d1261e7Copy full SHA for d1261e7
src/Symfony/Component/Validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php
@@ -148,20 +148,6 @@ public function testValidComparisonToPropertyPath($comparedValue)
148
$this->assertNoViolation();
149
}
150
151
- /**
152
- * @dataProvider provideValidComparisonsToPropertyPath
153
- */
154
- public function testValidComparisonToPropertyPathOnArray($comparedValue)
155
- {
156
- $constraint = $this->createConstraint(['propertyPath' => '[root][value]']);
157
-
158
- $this->setObject(['root' => ['value' => 5]]);
159
160
- $this->validator->validate($comparedValue, $constraint);
161
162
- $this->assertNoViolation();
163
- }
164
165
public function testNoViolationOnNullObjectWithPropertyPath()
166
{
167
$constraint = $this->createConstraint(['propertyPath' => 'propertyPath']);
0 commit comments