mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Optimized RequestedEntityFormBuilderService and implemented form classes and logic
This commit is contained in:
@@ -13,9 +13,9 @@ class FormClassNameServiceTest extends TestCase
|
||||
{
|
||||
public function testGetName()
|
||||
{
|
||||
$entity = new PureSource();
|
||||
$entityClass = PureSource::class;
|
||||
$formNameService = new FormClassNameService();
|
||||
$entityForm = $formNameService->getName($entity);
|
||||
$entityForm = $formNameService->getClass($entityClass);
|
||||
$this->assertEquals('App\\Form\\Source\\PureSourceType', $entityForm);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user