From f083561ee7cc5bb611e8b71a9132445968dc097b Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 20 Jun 2020 00:32:42 -0400 Subject: [PATCH] feat: add test for remote ssh during deploy_app --- tests/unit/test_helper.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit/test_helper.bash b/tests/unit/test_helper.bash index e90b4474a..1e460cc7e 100644 --- a/tests/unit/test_helper.bash +++ b/tests/unit/test_helper.bash @@ -268,6 +268,8 @@ deploy_app() { local GIT_REMOTE_BRANCH=${GIT_REMOTE_BRANCH:="master"} local TMP=${CUSTOM_TMP:=$(mktemp -d "/tmp/dokku.me.XXXXX")} + ssh -o StrictHostKeyChecking=no dokku@dokku.me version + rmdir "$TMP" && cp -r "${BATS_TEST_DIRNAME}/../../tests/apps/$APP_TYPE" "$TMP" # shellcheck disable=SC2086