Scenario: Failed status as text
When sending text status query
Then a HTTP 500 is returned
- And the page contents equals "ERROR: No database"
+ And the page contents equals "ERROR: Database connection failed"
Scenario: Failed status as json
When sending json status query
And the result is valid json
And results contain
| status | message |
- | 700 | No database |
+ | 700 | Database connection failed |
And result has not attributes data_updated