1 Feature: Status queries against unknown database
5 Given an unknown database
7 Scenario: Failed status as text
9 Then a HTTP 500 is returned
10 And the page content equals "ERROR: Database connection failed"
12 Scenario: Failed status as json
13 When sending v1/status with format json
14 Then a HTTP 200 is returned
15 And the result is valid json
16 And the result contains
17 | status!:d | message |
18 | 700 | Database connection failed |
19 And the result has no attributes data_updated