use ISO3166-2-lvl<admin_level> instead of typeLabel prefix

This commit is contained in:
Artem Ziablytskyi
2022-04-06 19:24:39 +02:00
committed by Sarah Hoffmann
parent 7899654675
commit 9a56e53d50
6 changed files with 13 additions and 9 deletions

View File

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