diff --git a/src/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php index f57428cafe..2f6945499c 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php @@ -416,20 +416,6 @@ class RangeValidatorTest extends ConstraintValidatorTestCase $this->assertNoViolation(); } - /** - * @dataProvider getTenToTwenty - */ - public function testValidValuesMinPropertyPathOnArray($value) - { - $this->setObject(['root' => ['value' => 10]]); - - $this->validator->validate($value, new Range([ - 'minPropertyPath' => '[root][value]', - ])); - - $this->assertNoViolation(); - } - /** * @dataProvider getTenToTwenty */ @@ -444,20 +430,6 @@ class RangeValidatorTest extends ConstraintValidatorTestCase $this->assertNoViolation(); } - /** - * @dataProvider getTenToTwenty - */ - public function testValidValuesMaxPropertyPathOnArray($value) - { - $this->setObject(['root' => ['value' => 20]]); - - $this->validator->validate($value, new Range([ - 'maxPropertyPath' => '[root][value]', - ])); - - $this->assertNoViolation(); - } - /** * @dataProvider getTenToTwenty */