DB-Verbindungsfehler als 500 ausliefern statt roher PDO-Meldung mit HTTP 200
This commit is contained in:
parent
2ae15e0856
commit
3d72278e10
4 changed files with 15 additions and 11 deletions
|
|
@ -431,8 +431,6 @@ def smoke_test(app_url):
|
|||
text = body.decode("utf-8", "replace")
|
||||
if status != 200:
|
||||
failures.append("App: HTTP %d" % status)
|
||||
elif "Datenbankverbindung fehlgeschlagen" in text:
|
||||
failures.append("App: DB-Verbindung fehlgeschlagen")
|
||||
elif "page=login" not in text:
|
||||
failures.append("App: Login-Seite nicht erkannt")
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue