Added missing tests for LogEntryRepository

This commit is contained in:
Jan Böhmer 2024-06-23 16:07:42 +02:00
parent e0e4b74b6f
commit c68a647e75
3 changed files with 55 additions and 5 deletions

View file

@ -111,7 +111,6 @@ class LogEntryRepository extends DBElementRepository
{
$qb = $this->createQueryBuilder('log');
$qb->select('log')
//->where('log INSTANCE OF App\Entity\LogSystem\ElementEditedLogEntry')
->where('log INSTANCE OF '.ElementEditedLogEntry::class)
->orWhere('log INSTANCE OF '.CollectionElementDeleted::class)
->andWhere('log.target_type = :target_type')