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.
2 parents c829bf0 + 9f79bdb commit 7d88cf2Copy full SHA for 7d88cf2
Tests/Controller/AbstractControllerTest.php
@@ -513,7 +513,11 @@ public function testCreateNotFoundException()
513
514
public function testCreateForm()
515
{
516
- $form = new Form($this->createMock(FormConfigInterface::class));
+ $config = $this->createMock(FormConfigInterface::class);
517
+ $config->method('getInheritData')->willReturn(false);
518
+ $config->method('getName')->willReturn('');
519
+
520
+ $form = new Form($config);
521
522
$formFactory = $this->createMock(FormFactoryInterface::class);
523
$formFactory->expects($this->once())->method('create')->willReturn($form);
0 commit comments