X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fsymfony%2Fvalidator%2FTests%2FConstraints%2FLuhnValidatorTest.php;fp=vendor%2Fsymfony%2Fvalidator%2FTests%2FConstraints%2FLuhnValidatorTest.php;h=3ee04d7f46820a82008d93fccc334b790bd9ece0;hp=b0e88c3456b082fe0f7ef73a6cefaa7e1224f07f;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/vendor/symfony/validator/Tests/Constraints/LuhnValidatorTest.php b/vendor/symfony/validator/Tests/Constraints/LuhnValidatorTest.php index b0e88c345..3ee04d7f4 100644 --- a/vendor/symfony/validator/Tests/Constraints/LuhnValidatorTest.php +++ b/vendor/symfony/validator/Tests/Constraints/LuhnValidatorTest.php @@ -13,15 +13,10 @@ namespace Symfony\Component\Validator\Tests\Constraints; use Symfony\Component\Validator\Constraints\Luhn; use Symfony\Component\Validator\Constraints\LuhnValidator; -use Symfony\Component\Validator\Validation; +use Symfony\Component\Validator\Test\ConstraintValidatorTestCase; -class LuhnValidatorTest extends AbstractConstraintValidatorTest +class LuhnValidatorTest extends ConstraintValidatorTestCase { - protected function getApiVersion() - { - return Validation::API_VERSION_2_5; - } - protected function createValidator() { return new LuhnValidator();