Skip to content
Permalink
Browse files

remove invalid test cases

  • Loading branch information...
xabbuh committed Jul 11, 2019
1 parent ea92f38 commit d7d2eac0876f30dfc12f6678564b28141a06f6cd
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 d7d2eac

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