fix test error due to the removing of deprecated getName method

This commit is contained in:
nobohan 2018-04-13 17:31:03 +02:00
parent 11bd3c66e1
commit da92b4df56

View File

@ -178,7 +178,7 @@ class CustomFieldsNumberTest extends \Symfony\Bundle\FrameworkBundle\Test\WebTes
->addCustomField($cf);
$form = static::$kernel->getContainer()->get('form.factory')
->createBuilder('custom_field', array(), array(
->createBuilder(\Chill\CustomFieldsBundle\Form\Type\CustomFieldType::class, array(), array(
'group' => $cfGroup
))
->getForm();