mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
bdd: remove special case for osm_type field
The fuzzy field check hide cover formatting errors. Use 'osm' when only caring about the conent.
This commit is contained in:
@@ -273,12 +273,12 @@ Feature: Import of address interpolations
|
||||
| W3 | 14 | 14 |
|
||||
When sending search query "16 Cloud Street"
|
||||
Then results contain
|
||||
| ID | osm_type | osm_id |
|
||||
| 0 | N | 4 |
|
||||
| ID | osm |
|
||||
| 0 | N4 |
|
||||
When sending search query "14 Cloud Street"
|
||||
Then results contain
|
||||
| ID | osm_type | osm_id |
|
||||
| 0 | W | 11 |
|
||||
| ID | osm |
|
||||
| 0 | W11 |
|
||||
|
||||
Scenario: addr:street on housenumber way
|
||||
Given the grid
|
||||
@@ -318,12 +318,12 @@ Feature: Import of address interpolations
|
||||
| W3 | 14 | 14 |
|
||||
When sending search query "16 Cloud Street"
|
||||
Then results contain
|
||||
| ID | osm_type | osm_id |
|
||||
| 0 | N | 4 |
|
||||
| ID | osm |
|
||||
| 0 | N4 |
|
||||
When sending search query "14 Cloud Street"
|
||||
Then results contain
|
||||
| ID | osm_type | osm_id |
|
||||
| 0 | W | 11 |
|
||||
| ID | osm |
|
||||
| 0 | W11 |
|
||||
|
||||
Scenario: Geometry of points and way don't match (github #253)
|
||||
Given the places
|
||||
@@ -401,8 +401,8 @@ Feature: Import of address interpolations
|
||||
| 2 | 8 | 10,11 |
|
||||
When sending jsonv2 reverse coordinates 1,1
|
||||
Then results contain
|
||||
| ID | osm_type | osm_id | type | display_name |
|
||||
| 0 | node | 1 | house | 0 |
|
||||
| ID | osm | type | display_name |
|
||||
| 0 | N1 | house | 0 |
|
||||
|
||||
Scenario: Parenting of interpolation with additional tags
|
||||
Given the grid
|
||||
|
||||
Reference in New Issue
Block a user