X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fsymfony%2Fvalidator%2FTests%2FConstraints%2FEqualToValidatorTest.php;h=5e079ce525058c784d3df99c834e57cafc3d3864;hp=47f1e483fb4b29cf6fbb5f4cd3fcdc2ab683edde;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/vendor/symfony/validator/Tests/Constraints/EqualToValidatorTest.php b/vendor/symfony/validator/Tests/Constraints/EqualToValidatorTest.php index 47f1e483f..5e079ce52 100644 --- a/vendor/symfony/validator/Tests/Constraints/EqualToValidatorTest.php +++ b/vendor/symfony/validator/Tests/Constraints/EqualToValidatorTest.php @@ -13,24 +13,18 @@ namespace Symfony\Component\Validator\Tests\Constraints; use Symfony\Component\Validator\Constraints\EqualTo; use Symfony\Component\Validator\Constraints\EqualToValidator; -use Symfony\Component\Validator\Validation; /** * @author Daniel Holmes */ class EqualToValidatorTest extends AbstractComparisonValidatorTestCase { - protected function getApiVersion() - { - return Validation::API_VERSION_2_5; - } - protected function createValidator() { return new EqualToValidator(); } - protected function createConstraint(array $options) + protected function createConstraint(array $options = null) { return new EqualTo($options); }