|
|
@ -27,7 +27,7 @@ class MessageRepositoryTest extends AbstractApiTest |
|
|
|
{ |
|
|
|
{ |
|
|
|
self::bootKernel(); |
|
|
|
self::bootKernel(); |
|
|
|
|
|
|
|
|
|
|
|
$em = self::getContainer()->get('doctrine')->getManager(); |
|
|
|
$em = $this->getManager(); |
|
|
|
|
|
|
|
|
|
|
|
$messageRepo = self::getContainer()->get(MessageRepository::class); |
|
|
|
$messageRepo = self::getContainer()->get(MessageRepository::class); |
|
|
|
$userRepo = self::getContainer()->get(UserRepository::class); |
|
|
|
$userRepo = self::getContainer()->get(UserRepository::class); |
|
|
@ -73,7 +73,7 @@ class MessageRepositoryTest extends AbstractApiTest |
|
|
|
{ |
|
|
|
{ |
|
|
|
self::bootKernel(); |
|
|
|
self::bootKernel(); |
|
|
|
|
|
|
|
|
|
|
|
$em = self::getContainer()->get('doctrine')->getManager(); |
|
|
|
$em = $this->getManager(); |
|
|
|
|
|
|
|
|
|
|
|
$messageTagRepo = self::getContainer()->get(MessageTagRepository::class); |
|
|
|
$messageTagRepo = self::getContainer()->get(MessageTagRepository::class); |
|
|
|
$messageRepo = self::getContainer()->get(MessageRepository::class); |
|
|
|
$messageRepo = self::getContainer()->get(MessageRepository::class); |
|
|
@ -158,7 +158,7 @@ class MessageRepositoryTest extends AbstractApiTest |
|
|
|
{ |
|
|
|
{ |
|
|
|
self::bootKernel(); |
|
|
|
self::bootKernel(); |
|
|
|
|
|
|
|
|
|
|
|
$em = self::getContainer()->get('doctrine')->getManager(); |
|
|
|
$em = $this->getManager(); |
|
|
|
|
|
|
|
|
|
|
|
$messageAttachmentRepo = self::getContainer()->get(MessageAttachmentRepository::class); |
|
|
|
$messageAttachmentRepo = self::getContainer()->get(MessageAttachmentRepository::class); |
|
|
|
$messageRepo = self::getContainer()->get(MessageRepository::class); |
|
|
|
$messageRepo = self::getContainer()->get(MessageRepository::class); |
|
|
@ -199,7 +199,7 @@ class MessageRepositoryTest extends AbstractApiTest |
|
|
|
{ |
|
|
|
{ |
|
|
|
self::bootKernel(); |
|
|
|
self::bootKernel(); |
|
|
|
|
|
|
|
|
|
|
|
$em = self::getContainer()->get('doctrine')->getManager(); |
|
|
|
$em = $this->getManager(); |
|
|
|
|
|
|
|
|
|
|
|
$messageAttachmentRepo = self::getContainer()->get(MessageAttachmentRepository::class); |
|
|
|
$messageAttachmentRepo = self::getContainer()->get(MessageAttachmentRepository::class); |
|
|
|
$messageTagRepo = self::getContainer()->get(MessageTagRepository::class); |
|
|
|
$messageTagRepo = self::getContainer()->get(MessageTagRepository::class); |
|
|
@ -273,7 +273,7 @@ class MessageRepositoryTest extends AbstractApiTest |
|
|
|
{ |
|
|
|
{ |
|
|
|
self::bootKernel(); |
|
|
|
self::bootKernel(); |
|
|
|
|
|
|
|
|
|
|
|
$em = self::getContainer()->get('doctrine')->getManager(); |
|
|
|
$em = $this->getManager(); |
|
|
|
|
|
|
|
|
|
|
|
$messageRepo = self::getContainer()->get(MessageRepository::class); |
|
|
|
$messageRepo = self::getContainer()->get(MessageRepository::class); |
|
|
|
$userRepo = self::getContainer()->get(UserRepository::class); |
|
|
|
$userRepo = self::getContainer()->get(UserRepository::class); |
|
|
|