Implemented Members attribut and optimized membership

This commit is contained in:
Kevin Frantz
2018-11-24 18:13:04 +01:00
parent a64541a9ad
commit cb1316a380
11 changed files with 116 additions and 28 deletions

View File

@@ -1,4 +1,5 @@
<?php
namespace tests\Unit\Repository;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
@@ -10,33 +11,27 @@ use App\Entity\Source\Complex\UserSource;
class UserSourceRepositoryTest extends KernelTestCase
{
/**
*
* @var EntityManager
*/
protected $entityManager;
/**
*
* @var UserSourceRepository
*/
protected $userSourceRepository;
/**
*
* @var UserSourceInterface
*/
protected $loadedUserSource;
/**
*
* @var UserInterface
*/
protected $user;
/**
*
* @var UserSourceInterface
*/
protected $userSource;
@@ -89,7 +84,6 @@ class UserSourceRepositoryTest extends KernelTestCase
}
/**
*
* {@inheritdoc}
*
* @see \Symfony\Bundle\FrameworkBundle\Test\KernelTestCase::tearDown()