Skip to content

Commit

Permalink
Merge pull request #87 from logeecom/master
Browse files Browse the repository at this point in the history
Release version 3.4.3
  • Loading branch information
jlrvilla authored Jul 8, 2024
2 parents c4ac007 + cb0730e commit 05aa4a7
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## [3.4.3](https://github.com/packlink-dev/ecommerce_module_core/compare/v3.4.2...v3.4.3) - 2024-07-08
### Changed
- Add unsupported country Algeria

## [3.4.2](https://github.com/packlink-dev/ecommerce_module_core/compare/v3.4.0...v3.4.1) - 2024-07-03
### Added
- Upgrade tests to work with PHPUnit 10 and above
Expand Down
4 changes: 4 additions & 0 deletions src/Brands/Packlink/PacklinkConfigurationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ class PacklinkConfigurationService implements BrandConfigurationService
'code' => 'SK',
'postal_code' => '811 01',
),
'DZ' => array(
'code' => 'DZ',
'postal_code' => '16000',
),
);

/**
Expand Down
2 changes: 1 addition & 1 deletion src/BusinessLogic/Resources/countries/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"LV": "Lettland",
"AF": "Afghanistan",
"AL": "Albania",
"DZ": "Algeria",
"DZ": "Algerien",
"AS": "American Samoa",
"AD": "Andorra",
"AO": "Angola",
Expand Down
2 changes: 1 addition & 1 deletion src/BusinessLogic/Resources/countries/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"LV": "Letonia",
"AF": "Afghanistan",
"AL": "Albania",
"DZ": "Algeria",
"DZ": "Argelia",
"AS": "American Samoa",
"AD": "Andorra",
"AO": "Angola",
Expand Down
2 changes: 1 addition & 1 deletion src/BusinessLogic/Resources/countries/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"LV": "Lettonie",
"AF": "Afghanistan",
"AL": "Albania",
"DZ": "Algeria",
"DZ": "Algérie",
"AS": "American Samoa",
"AD": "Andorra",
"AO": "Angola",
Expand Down
1 change: 1 addition & 0 deletions src/BusinessLogic/Resources/countries/translations.csv
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ countries,CA,Canada,Canadá,Kanada,Canada,Canada
countries,CY,Cyprus,Chipre,Zypern,Chypre,Cipro
countries,SI,Slovenia,Slovenia,Slowenien,Slovénie,Slovenia
countries,SK,Slovakia,Eslovaquia,Slowakei,Slovaquie,Slovacchia
countries,DZ,Algeria,Argelia,Algerien,Algérie,Algeria
onboardingWelcome,header,Let's set up basic information so that<br>you can make shipments,Vamos a configurar tu información básica <br> para poder hacer envíos,"Richten Sie nun die grundlegenden Informationen ein, damit<br>Sie Versendungen vornehmen können",Configurez vos informations de base afin<br>d’effectuer des envois,È necessario impostare alcuni dati di base così che<br>potrai effettuare spedizioni
onboardingWelcome,steps,It's just two steps that we need to go through to offer you the<br>carrier that best suits your needs,"Son solo dos pasos, los necesitamos para ofrecerte los servicios <br> de transporte que más se adaptan a tus necesidades.","In nur zwei Schritten können wir Ihnen den <br>Spediteur anbieten, der all Ihre Anforderungen erfüllt",Il ne vous reste que deux étapes pour savoir quel<br>transporteur répond le mieux à vos besoins,Si tratta di due semplici passaggi che dobbiamo completare per offrirti la<br>compagnia di trasporto che più si adatta alle tue esigenze
onboardingWelcome,stepOne,Set parcel details,Configurar los detalles del paquete,Paketangaben einfügen,Configurez les informations sur le colis,Imposta i dettagli del pacco
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function testGetSupportedCountries()
$countries = $service->getSupportedCountries();

$this->assertNotEmpty($countries);
$this->assertCount(41, $countries);
$this->assertCount(42, $countries);
$this->assertArrayHasKey('MX', $countries);
$this->assertEquals('Mexico', $countries['MX']->name);
$this->assertEquals('MX', $countries['MX']->code);
Expand Down
2 changes: 2 additions & 0 deletions tests/BusinessLogic/Tasks/UpdateShippingServicesTaskTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ public function testExecuteNewAndDelete()
new HttpResponse(200, array(), '[]'),
new HttpResponse(200, array(), '[]'),
new HttpResponse(200, array(), '[]'),
new HttpResponse(200, array(), '[]'),
)
);

Expand Down Expand Up @@ -398,6 +399,7 @@ protected function getValidMockResponses()
new HttpResponse(200, array(), '[]'),
new HttpResponse(200, array(), '[]'),
new HttpResponse(200, array(), '[]'),
new HttpResponse(200, array(), '[]'),
);
}

Expand Down

0 comments on commit 05aa4a7

Please sign in to comment.