Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / validator / Tests / Constraints / TypeValidatorTest.php
index 51bd992d8f81d5b22e188b5f2a58aa1b62188da2..86ce972a466b0c486d39532d2ae4f39563fca329 100644 (file)
@@ -13,17 +13,12 @@ namespace Symfony\Component\Validator\Tests\Constraints;
 
 use Symfony\Component\Validator\Constraints\Type;
 use Symfony\Component\Validator\Constraints\TypeValidator;
-use Symfony\Component\Validator\Validation;
+use Symfony\Component\Validator\Test\ConstraintValidatorTestCase;
 
-class TypeValidatorTest extends AbstractConstraintValidatorTest
+class TypeValidatorTest extends ConstraintValidatorTestCase
 {
     protected static $file;
 
-    protected function getApiVersion()
-    {
-        return Validation::API_VERSION_2_5;
-    }
-
     protected function createValidator()
     {
         return new TypeValidator();