You are here

public function DateTimeValidatorTest::testValidDateTimes in Plug 7

@dataProvider getValidDateTimes

File

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

Class

DateTimeValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidDateTimes($dateTime) {
  $this->validator
    ->validate($dateTime, new DateTime());
  $this
    ->assertNoViolation();
}