Skip to content

Commit

Permalink
Merge pull request #24 from logeecom/dev
Browse files Browse the repository at this point in the history
Hotfix
  • Loading branch information
alberto-packlink authored Apr 14, 2020
2 parents 027b62b + b5acbaf commit 3b557db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/BusinessLogic/Warehouse/WarehouseService.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ public function updateWarehouseData(array $payload)
if ($oldWarehouse === null
|| $oldWarehouse->country !== $warehouse->country
) {
$queueService->enqueue($configService->getDefaultQueueName(), new UpdateShippingServicesTask());
$queueService->enqueue(
$configService->getDefaultQueueName(),
new UpdateShippingServicesTask(),
$configService->getContext()
);
}

return $warehouse;
Expand Down
2 changes: 1 addition & 1 deletion tests/BusinessLogic/Country/CountryServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function testGetSupportedCountries()
$this->assertEquals('ES', $countries['ES']->code);
$this->assertEquals('28001', $countries['ES']->postalCode);
$this->assertEquals(
'https://auth.packlink.com/es-ES/test-system/registro?platform=PRO&platform_country=ES',
'https://auth.packlink.com/es-ES/test-system/registro?platform_country=ES&platform=PRO',
$countries['ES']->registrationLink
);
}
Expand Down

0 comments on commit 3b557db

Please sign in to comment.