fixed deprecation notices in tests

This commit is contained in:
Fabien Potencier 2016-04-28 11:59:09 +02:00
parent 5c235428d2
commit 996251ce13

View File

@ -202,7 +202,7 @@ class ChoiceTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
public function testExpandedChoiceListWithBooleanAndNullValues()
{
$view = $this->factory->create('choice', null, array(
$view = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array(
'choices' => $this->booleanChoicesWithNull,
'choices_as_values' => true,
'expanded' => true,
@ -229,7 +229,7 @@ class ChoiceTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
public function testExpandedChoiceListWithBooleanAndNullValuesAndFalseAsPreSetData()
{
$view = $this->factory->create('choice', false, array(
$view = $this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', false, array(
'choices' => $this->booleanChoicesWithNull,
'choices_as_values' => true,
'expanded' => true,