]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/api/status/failures.feature
replace database abstraction DB with PDO
[nominatim.git] / test / bdd / api / status / failures.feature
index 9ef06532fa320744a5e8c4fbcb01aa80453ed6e9..70e9589a371762b4f005e89d64bfbd15e2931f15 100644 (file)
@@ -5,7 +5,7 @@ Feature: Status queries against unknown database
     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
@@ -13,5 +13,5 @@ Feature: Status queries against unknown database
         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