From d7d2eac0876f30dfc12f6678564b28141a06f6cd Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Thu, 11 Jul 2019 14:40:03 +0200 Subject: [PATCH] remove invalid test cases --- .../Tests/Constraints/RangeValidatorTest.php | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/src/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php index f57428cafe68b..2f6945499c0ff 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php @@ -416,20 +416,6 @@ public function testValidValuesMinPropertyPath($value) $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 @@ public function testValidValuesMaxPropertyPath($value) $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 */ pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy