mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 05:47:11 +02:00
Optimized RequestManagement and tests
This commit is contained in:
@@ -7,6 +7,7 @@ use App\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
|
||||
use App\Domain\RepositoryManagement\LayerRepositoryFactoryService;
|
||||
use App\Repository\RepositoryInterface;
|
||||
use App\Exception\NotSetException;
|
||||
use App\Domain\LayerManagement\LayerClassMap;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
@@ -27,7 +28,7 @@ class LayerRepositoryFactoryServiceTest extends KernelTestCase
|
||||
|
||||
public function testGetRepository(): void
|
||||
{
|
||||
foreach (array_keys(LayerRepositoryFactoryService::LAYER_CLASS_MAP) as $layer) {
|
||||
foreach (array_keys(LayerClassMap::LAYER_CLASS_MAP) as $layer) {
|
||||
$repositoy = $this->layerRepositoryFactoryService->getRepository($layer);
|
||||
$this->assertInstanceOf(RepositoryInterface::class, $repositoy);
|
||||
}
|
||||
|
Reference in New Issue
Block a user