Nominatim/test/bdd/api/status/simple.feature
mtmail 7075a5828e
add JSON format to /status endpoint (#1013)
add JSON format to /status endpoint
2018-05-04 23:37:48 +02:00

17 lines
442 B
Gherkin

@APIDB
Feature: Status queries
Testing status query
Scenario: Status as text
When sending status query
Then a HTTP 200 is returned
And the page contents equals "OK"
Scenario: Status as json
When sending json status query
Then the result is valid json
And results contain
| status | message |
| 0 | OK |
And result has attributes data_updated