You are here

public function IssnValidatorTest::testEmptyStringIsValid in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Constraints/IssnValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\IssnValidatorTest::testEmptyStringIsValid()

File

vendor/symfony/validator/Tests/Constraints/IssnValidatorTest.php, line 105

Class

IssnValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testEmptyStringIsValid() {
  $constraint = new Issn();
  $this->validator
    ->validate('', $constraint);
  $this
    ->assertNoViolation();
}