fix test error due to the removing of deprecated getName method

This commit is contained in:
nobohan 2018-04-13 17:29:59 +02:00
parent 00bbbd32d6
commit 11bd3c66e1

View File

@ -155,7 +155,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();