]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/db/query/normalization.feature
allow nginx to serve files without php extensions
[nominatim.git] / test / bdd / db / query / normalization.feature
index 1ef1fcbe6b223aee279caba92b6cd79855fb05d1..3205264753f1c67cef5a0beefb2af0e5425df293 100644 (file)
@@ -136,3 +136,13 @@ Feature: Import and search of names
         Then results contain
          | ID | osm_type | osm_id |
          | 0  | R        | 1 |
+
+     Scenario: Unprintable characters in postcodes are ignored
+        Given the named places
+            | osm  | class   | type   | address |
+            | N234 | amenity | prison | 'postcode' : u'1234\u200e' |
+        When importing
+        And searching for "1234"
+        Then results contain
+         | ID | osm_type |
+         | 0  | P        |