fixed bad merge

This commit is contained in:
Fabien Potencier 2019-04-10 21:42:23 +02:00
parent b13a23fe45
commit 9ee6fc15e1

View File

@ -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);