-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hello,
I'm trying to unit test a form:
use Eckinox\TinymceBundle\Form\Type\TinymceType;
...
->add('description', TinymceType::class, [
'label' => 'label.description',
'required' => false,
]);
In my test i do:
$crawler = $this->client->request('GET', '/ ...');
$buttonCrawlerNode = $crawler->selectButton('Save');
$form = $buttonCrawlerNode->form();
In $form variable i have all the fields of the form except for 'description'.
If I change it into a 'TextAreaType' it works fine, it's present in $form.
How do i get this field into my php unit test?
Thank you very much in advance.
With kind regards,
Annemieke
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels