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 | protected $entityManager; |
||
23 | |||
24 | /** @var AuthOptions $authOptions */ |
||
25 | protected $authOptions; |
||
26 | |||
27 | /** |
||
28 | * @return RepositoryRegistry |
||
29 | */ |
||
30 | protected function createRepositoryRegistry() |
||
34 | |||
35 | /** |
||
36 | * Initializing AuthOptions, AuthManager and AuthOptions |
||
37 | */ |
||
38 | public function setUp() |
||
46 | } |
||
47 |