mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 06:01:35 +01:00
Specified UserSourceRepositoryTests
This commit is contained in:
parent
ba39321efe
commit
ce8f53780a
@ -64,6 +64,9 @@ class UserSourceRepositoryTest extends KernelTestCase
|
||||
$userSourceId = $userSource->getId();
|
||||
$loadedUserSource = $this->entityManager->getRepository(UserSource::class)->find($userSourceId);
|
||||
$this->assertEquals($userSourceId, $loadedUserSource->getId());
|
||||
$this->assertGreaterThan(0, $userSource->getCreatorRelation()->getId());
|
||||
$this->assertGreaterThan(0, $userSource->getLaw()->getId());
|
||||
$this->assertFalse($userSource->hasPersonIdentitySource());
|
||||
$this->entityManager->remove($loadedUserSource);
|
||||
$this->entityManager->flush();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user