mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 05:47:11 +02:00
Changed App namespace to Infinito namespace
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
namespace tests\Unit\Domain\FormManagement;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use App\Domain\FormManagement\FormClassNameService;
|
||||
use App\Entity\Source\PureSource;
|
||||
use App\DBAL\Types\ActionType;
|
||||
use Infinito\Domain\FormManagement\FormClassNameService;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
@@ -17,7 +17,7 @@ class FormClassNameServiceTest extends TestCase
|
||||
$entityClass = PureSource::class;
|
||||
$formNameService = new FormClassNameService();
|
||||
$entityForm = $formNameService->getClass($entityClass);
|
||||
$this->assertEquals('App\\Form\\Source\\PureSourceType', $entityForm);
|
||||
$this->assertEquals('Infinito\\Form\\Source\\PureSourceType', $entityForm);
|
||||
}
|
||||
|
||||
public function testWithType(): void
|
||||
@@ -25,6 +25,6 @@ class FormClassNameServiceTest extends TestCase
|
||||
$entityClass = PureSource::class;
|
||||
$formNameService = new FormClassNameService();
|
||||
$entityForm = $formNameService->getClass($entityClass, ActionType::CREATE);
|
||||
$this->assertEquals('App\\Form\\Source\\PureSourceCreateType', $entityForm);
|
||||
$this->assertEquals('Infinito\\Form\\Source\\PureSourceCreateType', $entityForm);
|
||||
}
|
||||
}
|
||||
|
@@ -3,18 +3,18 @@
|
||||
namespace Tests\Unit\Domain\FormManagement;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use App\Entity\Source\Primitive\Name\SurnameSource;
|
||||
use App\Domain\FormManagement\FormMetaInformationInterface;
|
||||
use App\Domain\SourceManagement\SourceMetaInformation;
|
||||
use App\Domain\FormManagement\FormMetaInformation;
|
||||
use App\Domain\TemplateManagement\TemplatePathInformationInterface;
|
||||
use Infinito\Entity\Source\Primitive\Name\SurnameSource;
|
||||
use Infinito\Domain\FormManagement\FormMetaInformationInterface;
|
||||
use Infinito\Domain\SourceManagement\SourceMetaInformation;
|
||||
use Infinito\Domain\FormManagement\FormMetaInformation;
|
||||
use Infinito\Domain\TemplateManagement\TemplatePathInformationInterface;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
class FormMetaInformationTest extends TestCase
|
||||
{
|
||||
const FORM_CLASS = 'App\Form\Source\Primitive\Name\SurnameType';
|
||||
const FORM_CLASS = 'Infinito\Form\Source\Primitive\Name\SurnameType';
|
||||
|
||||
const FORM_VIEW_ATOM = 'atom/form/source/primitive/name/surname.html.twig';
|
||||
|
||||
|
@@ -3,10 +3,10 @@
|
||||
namespace tests\Unit\Domain\FormManagement;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use App\Exception\NotSetException;
|
||||
use App\Domain\RequestManagement\Action\RequestedActionInterface;
|
||||
use App\Domain\FormManagement\RequestedActionFormBuilder;
|
||||
use App\Domain\FormManagement\FormClassNameServiceInterface;
|
||||
use Infinito\Exception\NotSetException;
|
||||
use Infinito\Domain\RequestManagement\Action\RequestedActionInterface;
|
||||
use Infinito\Domain\FormManagement\RequestedActionFormBuilder;
|
||||
use Infinito\Domain\FormManagement\FormClassNameServiceInterface;
|
||||
use Symfony\Component\Form\FormFactoryInterface;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user