Commit 60338ac9 authored by Dave Marshall's avatar Dave Marshall Committed by Fabien Potencier

Workaround for OptionsResolver validating options

parent 7ae0fd8b
......@@ -87,9 +87,8 @@ class ValidatorServiceProviderTest extends \PHPUnit_Framework_TestCase
));
$builder = $app['form.factory']->createBuilder('form', array(), array(
'validation_constraint' => $constraints, // symfony/validator >=2.1,<2.3
'constraints' => $constraints, // symfony/validator ~2.3
'csrf_protection' => false,
'constraints' => $constraints,
'csrf_protection' => false,
));
$form = $builder
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment