Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
31 | public function testGetTimeIntervals(): void |
||
32 | { |
||
33 | $actualResult = $this->model->getTimeIntervals(self::CITY_REF); |
||
34 | $this->assertNotEmpty($actualResult); |
||
35 | $entity = array_shift($actualResult); |
||
36 | $expectedKeys = [ |
||
37 | 'Number', |
||
38 | 'Start', |
||
39 | 'End', |
||
40 | ]; |
||
41 | $this->assertEntity($entity, $expectedKeys); |
||
42 | } |
||
44 |