X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f45b3fa3f243de8894c03d8c9377157d01092c8c..0b0349f746fccd572b1c8a4911cc131ffbe9597e:/test/php/Nominatim/ClassTypesTest.php diff --git a/test/php/Nominatim/ClassTypesTest.php b/test/php/Nominatim/ClassTypesTest.php index 8d8481f5..cec3b82a 100644 --- a/test/php/Nominatim/ClassTypesTest.php +++ b/test/php/Nominatim/ClassTypesTest.php @@ -18,9 +18,9 @@ class ClassTypesTest extends \PHPUnit\Framework\TestCase 'rank_address' => 14 ); - $this->assertEquals('County', ClassTypes\getInfo($aPlace)['label']); - $this->assertEquals('County', ClassTypes\getFallbackInfo($aPlace)['label']); - $this->assertEquals('County', ClassTypes\getProperty($aPlace, 'label')); + $this->assertEquals('Municipality', ClassTypes\getInfo($aPlace)['label']); + $this->assertEquals('Municipality', ClassTypes\getFallbackInfo($aPlace)['label']); + $this->assertEquals('Municipality', ClassTypes\getProperty($aPlace, 'label')); // 2) No admin level // Eiffel Tower