replace docrine shortcuts in activity bundle by fqdn

This commit is contained in:
2022-04-30 00:37:26 +02:00
parent 864e1eeabb
commit 4b9b27a8ef
3 changed files with 9 additions and 9 deletions

View File

@@ -305,7 +305,7 @@ final class ActivityControllerTest extends WebTestCase
{
$reasons = self::$kernel->getContainer()
->get('doctrine.orm.entity_manager')
->getRepository('ChillActivityBundle:ActivityReason')
->getRepository(\Chill\ActivityBundle\Entity\ActivityReason::class)
->findAll();
$reason = $reasons[array_rand($reasons)];