Change the key to <addresspart_type>-ISO3166-2 to support xml response correctly

This commit is contained in:
Artem Ziablytskyi
2022-01-26 17:40:39 +01:00
committed by Sarah Hoffmann
parent 82dbcbb12a
commit 6bee188f24
3 changed files with 7 additions and 10 deletions

View File

@@ -86,7 +86,7 @@ class AddressDetailsTest extends \PHPUnit\Framework\TestCase
'city' => 'London',
'state_district' => 'Greater London',
'state' => 'England',
'state:ISO3166-2' => 'GB-ENG',
'state-ISO3166-2' => 'GB-ENG',
'postcode' => 'SW1A 2AA',
'country' => 'United Kingdom',
'country_code' => 'gb'