X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fsymfony%2Fvalidator%2FTests%2FConstraints%2FFileValidatorTest.php;fp=vendor%2Fsymfony%2Fvalidator%2FTests%2FConstraints%2FFileValidatorTest.php;h=4cf62a6215507721d30ee1b300e7aa1c60a61ccf;hp=686b62b0911b5df8142714bdfc9e886e97d7e416;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/vendor/symfony/validator/Tests/Constraints/FileValidatorTest.php b/vendor/symfony/validator/Tests/Constraints/FileValidatorTest.php index 686b62b09..4cf62a621 100644 --- a/vendor/symfony/validator/Tests/Constraints/FileValidatorTest.php +++ b/vendor/symfony/validator/Tests/Constraints/FileValidatorTest.php @@ -14,19 +14,14 @@ namespace Symfony\Component\Validator\Tests\Constraints; use Symfony\Component\HttpFoundation\File\UploadedFile; use Symfony\Component\Validator\Constraints\File; use Symfony\Component\Validator\Constraints\FileValidator; -use Symfony\Component\Validator\Validation; +use Symfony\Component\Validator\Test\ConstraintValidatorTestCase; -abstract class FileValidatorTest extends AbstractConstraintValidatorTest +abstract class FileValidatorTest extends ConstraintValidatorTestCase { protected $path; protected $file; - protected function getApiVersion() - { - return Validation::API_VERSION_2_5; - } - protected function createValidator() { return new FileValidator();