public function IsbnValidatorTest::testValidIsbn13 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::testValidIsbn13()
@dataProvider getValidIsbn13
File
- vendor/
symfony/ validator/ Tests/ Constraints/ IsbnValidatorTest.php, line 189
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testValidIsbn13($isbn) {
$constraint = new Isbn(array(
'type' => 'isbn13',
));
$this->validator
->validate($isbn, $constraint);
$this
->assertNoViolation();
}