Commit 3dd45688 authored by Fabien Potencier's avatar Fabien Potencier

merged branch davedevelopment/1.0-form-test-workaround (PR #723)

This PR was squashed before being merged into the 1.0 branch (closes #723).

Discussion
----------

Workaround for OptionsResolver validating options

Couldn't think of anyway to determine which version of the form component was being used, so went with the the suck it and see.

Commits
-------

60338ac9 Workaround for OptionsResolver validating options
parents 7ae0fd8b 60338ac9
......@@ -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