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
-------
d7d2eac087
remove invalid test cases
This commit is contained in:
commit
f4f5ea6798
@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user