Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas-novotny committed May 22, 2023
1 parent 9c100d3 commit 0c854b6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion src/Definitions/ServiceType.php
Original file line number Diff line number Diff line change
Expand Up @@ -2776,7 +2776,7 @@ public static function zasilkovna(): array
self::ZASILKOVNA_CZ_COURIER_HD,
// self::ZASILKOVNA_DE_POST_HD,
self::ZASILKOVNA_DE_HERMES_PP,
// self::ZASILKOVNA_DE_HERMES_HD,
self::ZASILKOVNA_DE_HERMES_HD,
self::ZASILKOVNA_DE_HOME_DELIVERY_HD,
self::ZASILKOVNA_DK_POST_NORD_HD,
self::ZASILKOVNA_DK_POST_NORD_PP,
Expand All @@ -2796,12 +2796,16 @@ public static function zasilkovna(): array
// self::ZASILKOVNA_FR_MONDIAL_PP,
self::ZASILKOVNA_FR_COLISSIMO_PP,
self::ZASILKOVNA_FR_COLISSIMO_HD,
self::ZASILKOVNA_FR_MONDIAL_RELAY_PP,
self::ZASILKOVNA_FR_COLIS_PRIVE_DIRECT_HD,
// self::ZASILKOVNA_GB_HERMES_HD,
self::ZASILKOVNA_GB_ROYAL_MAIL_24_HD,
self::ZASILKOVNA_GB_ROYAL_MAIL_48_HD,
self::ZASILKOVNA_GR_TAXYDROMIKI,
self::ZASILKOVNA_GR_ACS_HD,
self::ZASILKOVNA_GR_ACS_PP,
self::ZASILKOVNA_GR_SPEEDEX_HD,
self::ZASILKOVNA_GR_BOXNOW_BOX,
// self::ZASILKOVNA_GR_SPEEDY_HD,
self::ZASILKOVNA_HR_OVERSEAS_HD,
self::ZASILKOVNA_HR_OVERSEAS_PP,
Expand Down Expand Up @@ -2839,6 +2843,7 @@ public static function zasilkovna(): array
// self::ZASILKOVNA_PL_POST_48_HD,
// self::ZASILKOVNA_PL_DPD_HD,
self::ZASILKOVNA_PL_COURIER_HD,
self::ZASILKOVNA_PL_POST_PP,
self::ZASILKOVNA_PL_INPOST_PACZKOMATY_BOX,
// self::ZASILKOVNA_PL_INPOST_HD,
self::ZASILKOVNA_PT_MRW_HD,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function testInvalidRequest(): void

$service = $this->newBalikobot();

$branches = $service->getBranchesForShipperService(Shipper::CP, ServiceType::CP_BB);
$branches = $service->getBranchesForShipperService(Shipper::TOPTRANS, ServiceType::TOPTRANS_NOTICE);
$branches->valid();
}
}
2 changes: 1 addition & 1 deletion tests/Integration/Balikobot/GetPostcodesMethodTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function testInvalidRequest(): void

$service = $this->newBalikobot();

$branches = $service->getBranchesForShipperService(Shipper::CP, ServiceType::CP_BA);
$branches = $service->getBranchesForShipperService(Shipper::TOPTRANS, ServiceType::TOPTRANS_NOTICE);
$branches->valid();
}
}

0 comments on commit 0c854b6

Please sign in to comment.