Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | public function testQueryIndexHint(): void |
||
19 | { |
||
20 | $query = (new Query($this->getConnection()))->from([new Expression('{{%customer}} USE INDEX (primary)')]); |
||
21 | |||
22 | $row = $query->one(); |
||
23 | |||
24 | $this->assertArrayHasKey('id', $row); |
||
|
|||
25 | $this->assertArrayHasKey('name', $row); |
||
26 | $this->assertArrayHasKey('email', $row); |
||
27 | } |
||
44 |