Skip to content
Permalink
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
  • Loading branch information...
nicolas-grekas committed Jul 11, 2019
2 parents ea92f38 + d7d2eac commit f4f5ea6798bb8a6a642c8c152446df06a09d0115
Showing with 0 additions and 28 deletions.
  1. +0 −28 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
*/

0 comments on commit f4f5ea6

Please sign in to comment.
You can’t perform that action at this time.