public function IsbnValidatorTest::testEmptyStringIsValid in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/validator/Tests/Constraints/IsbnValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\IsbnValidatorTest::testEmptyStringIsValid()
File
- vendor/
symfony/ validator/ Tests/ Constraints/ IsbnValidatorTest.php, line 135
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testEmptyStringIsValid() {
$constraint = new Isbn(true);
$this->validator
->validate('', $constraint);
$this
->assertNoViolation();
}