From 15d2872918590c8c1bbf841e6379b8823beff1a6 Mon Sep 17 00:00:00 2001 From: Christian Walter Date: Mon, 10 Jun 2024 15:52:16 +0200 Subject: [PATCH] fix: add stop before cleanup --- tests/test.bats | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test.bats b/tests/test.bats index 2f3fc2d..acf9c30 100644 --- a/tests/test.bats +++ b/tests/test.bats @@ -25,6 +25,7 @@ health_checks() { teardown() { set -eu -o pipefail cd ${TESTDIR} || ( printf "unable to cd to ${TESTDIR}\n" && exit 1 ) + ddev stop ${PROJNAME} ddev delete -Oy ${PROJNAME} >/dev/null 2>&1 [ "${TESTDIR}" != "" ] && rm -rf ${TESTDIR} }