Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
31 | public function testGetDeliveryDateTest(): void |
||
32 | { |
||
33 | $actualResult = $this->model->getDocumentDeliveryDate([ |
||
34 | 'DateTime' => (new DateTime())->format('d.m.Y'), |
||
35 | 'ServiceType' => 'WarehouseWarehouse', |
||
36 | 'CitySender' => self::CITY_REF_KHARKIV, |
||
37 | 'CityRecipient' => self::CITY_REF_KYIV, |
||
38 | ]); |
||
39 | $this->assertEntity($actualResult, ['date', 'timezone', 'timezone_type']); |
||
40 | } |
||
42 |