You are here

public function IssnValidatorTest::testValidIssn in Zircon Profile 8.0

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

@dataProvider getValidIssn

File

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

Class

IssnValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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