public function EmailValidatorTest::testStrict in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Constraints/EmailValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\EmailValidatorTest::testStrict()
File
- vendor/
symfony/ validator/ Tests/ Constraints/ EmailValidatorTest.php, line 98
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testStrict() {
$constraint = new Email(array(
'strict' => true,
));
$this->validator
->validate('example@localhost', $constraint);
$this
->assertNoViolation();
}