osmlab / to-fix-backend

The to-fix server
BSD 3-Clause "New" or "Revised" License
15 stars 13 forks source link

[Postgis] Write test for failing db connection #118

Closed batpad closed 7 years ago

batpad commented 7 years ago

Refs https://github.com/osmlab/to-fix-backend/pull/116

We currently have a test to check the status end-point returns OK if the db connection is successful. We need a test for the error condition - that it correctly returns an error if the db connection fails.

cc @mcwhittemore @kepta

batpad commented 7 years ago

Fixed in https://github.com/osmlab/to-fix-backend/pull/121