bdd: extend reverse API tests for format checks

Reorganise the API reverse tests and extend the checks for the
output format, testing for all expected fields.
This commit is contained in:
Sarah Hoffmann
2023-03-09 20:20:50 +01:00
parent 2b7eb4906a
commit 3f2296e3ea
14 changed files with 703 additions and 342 deletions

View File

@@ -23,7 +23,7 @@ Feature: Query of address interpolations
| id | nodes |
| 1 | 1,3 |
When importing
When sending jsonv2 reverse point 2
When sending v1/reverse N2
Then results contain
| ID | display_name |
| 0 | 3, Nickway |
@@ -48,7 +48,7 @@ Feature: Query of address interpolations
| id | nodes |
| 1 | 1,3 |
When importing
When sending jsonv2 reverse point 2
When sending v1/reverse N2
Then results contain
| ID | display_name | centroid |
| 0 | 10, Nickway | 2 |