mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-08 01:14:34 +02:00
Added missing tests for LogEntryRepository
This commit is contained in:
parent
e0e4b74b6f
commit
c68a647e75
3 changed files with 55 additions and 5 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue