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