diff --git a/src/Symfony/Component/Validator/Test/ConstraintValidatorTestCase.php b/src/Symfony/Component/Validator/Test/ConstraintValidatorTestCase.php index e823c886bd..7b4972028d 100644 --- a/src/Symfony/Component/Validator/Test/ConstraintValidatorTestCase.php +++ b/src/Symfony/Component/Validator/Test/ConstraintValidatorTestCase.php @@ -499,11 +499,11 @@ class AssertingContextualValidator implements ContextualValidatorInterface public function getViolations() { - return $this->context->getViolations(); } public function doGetViolations() { + return $this->context->getViolations(); } public function expectNoValidate()