]> 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 02813286bb0c0a9b94fe7a4fcb556fb95eb6cfba..42a51add9f6602925469245b384ab461172271b7 100644 (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'