fix: only create the test app if it doesn't exist for tls tests
This commit is contained in:
@@ -356,7 +356,9 @@ setup_test_tls() {
|
|||||||
local TLS_TYPE="$1"
|
local TLS_TYPE="$1"
|
||||||
local TLS="/home/dokku/$TEST_APP/tls"
|
local TLS="/home/dokku/$TEST_APP/tls"
|
||||||
|
|
||||||
create_app "$TEST_APP"
|
if ! dokku apps:exists "$TEST_APP" >/dev/null 2>&1; then
|
||||||
|
create_app "$TEST_APP"
|
||||||
|
fi
|
||||||
mkdir -p "$TLS"
|
mkdir -p "$TLS"
|
||||||
|
|
||||||
case "$TLS_TYPE" in
|
case "$TLS_TYPE" in
|
||||||
|
|||||||
Reference in New Issue
Block a user