public function RangeValidatorTest::testValidDatesMinMax in Plug 7
@dataProvider getTenthToTwentiethMarch2014
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ RangeValidatorTest.php, line 275
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testValidDatesMinMax($value) {
$constraint = new Range(array(
'min' => 'March 10, 2014',
'max' => 'March 20, 2014',
));
$this->validator
->validate($value, $constraint);
$this
->assertNoViolation();
}