Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function testPositiveQuery(): void |
||
20 | { |
||
21 | $qb = $this->em->createQueryBuilder(); |
||
22 | |||
23 | $qb->from(GH7804Entity::class, 'te1') |
||
24 | ->select('te1.title as t') |
||
25 | ->addGroupBy('t'); |
||
26 | |||
27 | self::assertSQLEquals( |
||
28 | 'select t0."title" as c0 from "te1" t0 group by t0."title"', |
||
29 | $qb->getQuery()->getSQL() |
||
30 | ); |
||
89 |