We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8094804 commit c934e49Copy full SHA for c934e49
src/Symfony/Component/Form/Tests/AbstractLayoutTest.php
@@ -426,6 +426,15 @@ public function testHelp()
426
);
427
}
428
429
+ public function testHelpNotSet()
430
+ {
431
+ $form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\TextType');
432
+ $view = $form->createView();
433
+ $html = $this->renderHelp($view);
434
+
435
+ $this->assertMatchesXpath($html, '');
436
+ }
437
438
public function testErrors()
439
{
440
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\TextType');
0 commit comments