You are here

public function RangeValidatorTest::testValidDatesMax in Plug 7

@dataProvider getTenthToTwentiethMarch2014

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php, line 264

Class

RangeValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidDatesMax($value) {
  $constraint = new Range(array(
    'max' => 'March 20, 2014',
  ));
  $this->validator
    ->validate($value, $constraint);
  $this
    ->assertNoViolation();
}