public function DateTimeValidatorTest::testDateTimeClassIsValid in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/validator/Tests/Constraints/DateTimeValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\DateTimeValidatorTest::testDateTimeClassIsValid()
File
- vendor/
symfony/ validator/ Tests/ Constraints/ DateTimeValidatorTest.php, line 44
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testDateTimeClassIsValid() {
$this->validator
->validate(new \DateTime(), new DateTime());
$this
->assertNoViolation();
}