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