]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/php/Nominatim/AddressDetailsTest.php
Change the key to `<addresspart_type>-ISO3166-2` to support xml response correctly
[nominatim.git] / test / php / Nominatim / AddressDetailsTest.php
index 1425be2d4f6305c5ec9a9d5c372e5fa6dba4570e..42a51add9f6602925469245b384ab461172271b7 100644 (file)
@@ -86,6 +86,7 @@ class AddressDetailsTest extends \PHPUnit\Framework\TestCase
                      'city' => 'London',
                      'state_district' => 'Greater London',
                      'state' => 'England',
+                     'state-ISO3166-2' => 'GB-ENG',
                      'postcode' => 'SW1A 2AA',
                      'country' => 'United Kingdom',
                      'country_code' => 'gb'