public function IssnValidatorTest::getInvalidIssn in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ IssnValidatorTest.php, line 82
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function getInvalidIssn() {
return array(
array(
0,
Issn::TOO_SHORT_ERROR,
),
array(
'1539',
Issn::TOO_SHORT_ERROR,
),
array(
'2156-537A',
Issn::INVALID_CHARACTERS_ERROR,
),
array(
'1119-0231',
Issn::CHECKSUM_FAILED_ERROR,
),
array(
'1684-5312',
Issn::CHECKSUM_FAILED_ERROR,
),
array(
'1996-0783',
Issn::CHECKSUM_FAILED_ERROR,
),
array(
'1684-537X',
Issn::CHECKSUM_FAILED_ERROR,
),
array(
'1996-0795',
Issn::CHECKSUM_FAILED_ERROR,
),
);
}