Renamed method to a more speaking name

This commit is contained in:
Kevin Frantz
2019-02-06 18:38:20 +01:00
parent d3379630c8
commit f85b0118a7
5 changed files with 7 additions and 6 deletions

View File

@@ -118,11 +118,11 @@ class ActionServiceTest extends TestCase
$this->assertEquals($request, $result);
}
public function testGetForm(): void
public function testGetCurrentFormBuilder(): void
{
$form = $this->createMock(FormBuilderInterface::class);
$this->requestedActionFormBuilderService->method('createByService')->willReturn($form);
$result = $this->actionService->getForm();
$result = $this->actionService->getCurrentFormBuilder();
$this->assertEquals($form, $result);
}
}