1 | <?php |
||
12 | class BaseTestCase extends \PHPUnit_Framework_TestCase |
||
13 | { |
||
14 | /** Moderator user identifier */ |
||
15 | const MODERATOR_USER_ID = 1; |
||
16 | /** Admin user identifier */ |
||
17 | const ADMIN_USER_ID = 2; |
||
18 | /** User with this id not exists in database */ |
||
19 | const NOT_USER_ID = 3; |
||
20 | |||
21 | /** @var \Doctrine\ORM\EntityManager $entityManager */ |
||
22 | private $entityManager; |
||
23 | |||
24 | /** |
||
25 | * @return RepositoryRegistry |
||
26 | */ |
||
27 | protected function createRepositoryRegistry() |
||
31 | |||
32 | /** |
||
33 | * @return AuthOptions |
||
34 | */ |
||
35 | protected function createAuthOptions() |
||
41 | |||
42 | /** |
||
43 | * Initializing AuthOptions, AuthManager and AuthOptions |
||
44 | */ |
||
45 | public function setUp() |
||
49 | } |
||
50 |