mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 22:37:28 +01:00
21 lines
513 B
PHP
21 lines
513 B
PHP
<?php
|
|
|
|
namespace tests\Integration\Controller\API\Rest;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
*/
|
|
class ControllerLayerIntegrationTest extends TestCase
|
|
{
|
|
public function testThatControllerForEachLayerExist(): void
|
|
{
|
|
foreach (LayerType::getChoices() as $layer) {
|
|
$className = 'Infinito\\Controller\\API\\Rest\\'.ucfirst($layer).'Controller';
|
|
$this->assertTrue(class_exists($className));
|
|
}
|
|
}
|
|
}
|