| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function testGetSelfAndDescendantsSubQuery(): void |
||
| 21 | { |
||
| 22 | $expected = [ |
||
| 23 | ['id' => 8000], |
||
| 24 | ['id' => 8001], |
||
| 25 | ]; |
||
| 26 | |||
| 27 | $sql = $this->repository->getSelfAndDescendantsSubQuery(8000); |
||
| 28 | $actual = _em()->getConnection()->fetchAllAssociative($sql); |
||
| 29 | self::assertSame($expected, $actual); |
||
| 30 | } |
||
| 32 |