mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Updated type references
This commit is contained in:
@@ -6,8 +6,8 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use Doctrine\ORM\EntityRepository;
|
||||
use App\Entity\Meta\RightInterface;
|
||||
use App\Entity\Meta\Right;
|
||||
use App\DBAL\Types\LayerType;
|
||||
use App\DBAL\Types\RightType;
|
||||
use App\DBAL\Types\Meta\Right\LayerType;
|
||||
use App\DBAL\Types\Meta\Right\CRUDType;
|
||||
use App\Entity\Meta\Law;
|
||||
use App\Entity\Meta\LawInterface;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
@@ -56,7 +56,7 @@ class RightRepositoryTest extends KernelTestCase
|
||||
$this->right = new Right();
|
||||
$this->right->setPriority(self::PRIORITY);
|
||||
$this->right->setLayer(LayerType::SOURCE);
|
||||
$this->right->setType(RightType::READ);
|
||||
$this->right->setType(CRUDType::READ);
|
||||
$this->law = new Law();
|
||||
$this->entityManager->persist($this->law);
|
||||
$this->right->setLaw($this->law);
|
||||
|
Reference in New Issue
Block a user