Skip to content

Commit f4f5ea6

Browse files
minor #32498 [Validator] remove invalid test cases (xabbuh)
This PR was merged into the 4.4 branch. Discussion ---------- [Validator] remove invalid test cases | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- d7d2eac remove invalid test cases
2 parents ea92f38 + d7d2eac commit f4f5ea6

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

src/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -416,20 +416,6 @@ public function testValidValuesMinPropertyPath($value)
416416
$this->assertNoViolation();
417417
}
418418

419-
/**
420-
* @dataProvider getTenToTwenty
421-
*/
422-
public function testValidValuesMinPropertyPathOnArray($value)
423-
{
424-
$this->setObject(['root' => ['value' => 10]]);
425-
426-
$this->validator->validate($value, new Range([
427-
'minPropertyPath' => '[root][value]',
428-
]));
429-
430-
$this->assertNoViolation();
431-
}
432-
433419
/**
434420
* @dataProvider getTenToTwenty
435421
*/
@@ -444,20 +430,6 @@ public function testValidValuesMaxPropertyPath($value)
444430
$this->assertNoViolation();
445431
}
446432

447-
/**
448-
* @dataProvider getTenToTwenty
449-
*/
450-
public function testValidValuesMaxPropertyPathOnArray($value)
451-
{
452-
$this->setObject(['root' => ['value' => 20]]);
453-
454-
$this->validator->validate($value, new Range([
455-
'maxPropertyPath' => '[root][value]',
456-
]));
457-
458-
$this->assertNoViolation();
459-
}
460-
461433
/**
462434
* @dataProvider getTenToTwenty
463435
*/

0 commit comments

Comments
 (0)
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