mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-23 17:08:36 +00:00
fix tests.json for authelia and exit when test exception occurs
This commit is contained in:
parent
16573a397e
commit
e1183a0d4c
2 changed files with 3 additions and 2 deletions
|
|
@ -10,12 +10,12 @@
|
|||
"tests": [
|
||||
{
|
||||
"type": "string",
|
||||
"url": "https://TEST_DOMAIN1_1
|
||||
"url": "https://TEST_DOMAIN1_1",
|
||||
"string": "authelia"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"url": "https://TEST_DOMAIN1_2
|
||||
"url": "https://TEST_DOMAIN1_2",
|
||||
"string": "authelia"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -44,5 +44,6 @@ for example in glob("./examples/*") :
|
|||
exit(1)
|
||||
except :
|
||||
log("TESTS", "❌", "Exception while executing test for example " + example + " : " + format_exc())
|
||||
exit(1)
|
||||
|
||||
log("TESTS", "ℹ️", "All tests finished for " + test_type + " !")
|
||||
Loading…
Reference in a new issue