Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
30 | public function testGetPackList(): void |
||
31 | { |
||
32 | $actualResult = $this->model->getPackList(); |
||
33 | $this->assertNotEmpty($actualResult); |
||
34 | $entity = array_shift($actualResult); |
||
35 | $expectedKeys = [ |
||
36 | 'Ref', |
||
37 | 'Description', |
||
38 | 'DescriptionRu', |
||
39 | 'Length', |
||
40 | 'Width', |
||
41 | 'Height', |
||
42 | 'VolumetricWeight', |
||
43 | 'TypeOfPacking', |
||
44 | 'PackagingForPlace', |
||
45 | |||
46 | ]; |
||
47 | $this->assertEntity($entity, $expectedKeys); |
||
48 | } |
||
50 |