Fix unit tests in master

This commit is contained in:
Paráda József 2016-01-21 09:17:58 +01:00
parent 64515b8049
commit 96e40b22b2
2 changed files with 1 additions and 2 deletions

View File

@ -1495,7 +1495,6 @@ class ChoiceTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
'1' => '1',
'2' => '2',
),
'choices_as_values' => true,
)
);
$builder->add('subChoice', 'Symfony\Component\Form\Tests\Fixtures\ChoiceSubType');

View File

@ -24,7 +24,7 @@ class ChoiceSubType extends AbstractType
*/
public function configureOptions(OptionsResolver $resolver)
{
$resolver->setDefaults(array('expanded' => true, 'choices_as_values' => true));
$resolver->setDefaults(array('expanded' => true));
$resolver->setNormalizer('choices', function () {
return array(
'attr1' => 'Attribute 1',