diff --git a/src/Symfony/Component/Validator/Tests/Constraints/ChoiceValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/ChoiceValidatorTest.php index 728fa36c52..2f703b8fd5 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/ChoiceValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/ChoiceValidatorTest.php @@ -98,22 +98,11 @@ class ChoiceValidatorTest extends ConstraintValidatorTestCase public function testValidChoiceCallbackClosure() { -<<<<<<< HEAD - $constraint = new Choice( - [ - 'callback' => function () { - return ['foo', 'bar']; - }, - ] - ); -======= $constraint = new Choice([ - 'strict' => true, 'callback' => function () { return ['foo', 'bar']; }, ]); ->>>>>>> 3.4 $this->validator->validate('bar', $constraint);