]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/php/Nominatim/AddressDetailsTest.php
use ISO3166-2-lvl<admin_level> instead of typeLabel prefix
[nominatim.git] / test / php / Nominatim / AddressDetailsTest.php
index 42a51add9f6602925469245b384ab461172271b7..2041dcb4bff2558ee447ef1fb3c15361090f7b39 100644 (file)
@@ -86,7 +86,8 @@ class AddressDetailsTest extends \PHPUnit\Framework\TestCase
                      'city' => 'London',
                      'state_district' => 'Greater London',
                      'state' => 'England',
                      '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'
                      'postcode' => 'SW1A 2AA',
                      'country' => 'United Kingdom',
                      'country_code' => 'gb'