You are here

public function DateValidatorTest::testValidDates in Plug 7

@dataProvider getValidDates

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/DateValidatorTest.php, line 62

Class

DateValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidDates($date) {
  $this->validator
    ->validate($date, new Date());
  $this
    ->assertNoViolation();
}