Added tests for TagRepository::findTagsWithInfo

This commit is contained in:
Alejandro Celaya
2020-05-08 11:09:28 +02:00
parent 06c59fe2dd
commit bdd14427d9
2 changed files with 58 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ class TagRepository extends EntityRepository implements TagRepositoryInterface
FROM Shlinkio\Shlink\Core\Entity\Tag t
LEFT JOIN t.shortUrls s
LEFT JOIN s.visits v
GROUP BY tag
GROUP BY t
ORDER BY t.name ASC
DQL;
$query = $this->getEntityManager()->createQuery($dql);