]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/api/search/structured.feature
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / test / bdd / api / search / structured.feature
index c93603d6e00d57096bd9bcd8b67e9b6d5c5339e5..f45a1a6dcaac19bcd04764d08211ec88b0d06cf3 100644 (file)
@@ -31,6 +31,17 @@ Feature: Structured search queries
           | attr        | value |
           | querystring | Old Palace Road, GU2 7UP, United Kingdom |
 
           | attr        | value |
           | querystring | Old Palace Road, GU2 7UP, United Kingdom |
 
+    Scenario: Amenity, city
+        When sending json search query "" with address
+          | city  | amenity |
+          | Vaduz | church  |
+        Then result addresses contain
+          | country |
+          | Liechtenstein |
+        And  results contain
+          | class   | type |
+          | amenity | place_of_worship |
+
     Scenario: gihub #176
         When sending json search query "" with address
           | city |
     Scenario: gihub #176
         When sending json search query "" with address
           | city |