Optimized entity mapping

This commit is contained in:
Kevin Frantz
2018-11-20 22:04:29 +01:00
parent 0c852dbec4
commit 3b1330c40f
10 changed files with 34 additions and 10 deletions

View File

@@ -53,6 +53,8 @@ class UserRepositoryTest extends KernelTestCase
$this->assertGreaterThan(0, $this->loadedUser->getSource()->getId());
$this->assertGreaterThan(0, $this->loadedUser->getSource()->getPersonIdentitySource()->getId());
$this->assertGreaterThan(0, $this->loadedUser->getSource()->getPersonIdentitySource()->getFullPersonNameSource()->getId());
$this->assertGreaterThan(0, $this->loadedUser->getSource()->getPersonIdentitySource()->getFullPersonNameSource()->getFirstNameSource()->getId());
$this->assertGreaterThan(0, $this->loadedUser->getSource()->getPersonIdentitySource()->getFullPersonNameSource()->getSurnameSource()->getId());
$this->deleteUser();
$this->assertNull($this->userRepository->find($userId));
$this->loadedUser = null;