From 8acb962390f3d499b820fe19d56d68a9b63692b9 Mon Sep 17 00:00:00 2001 From: Julien Loizelet Date: Tue, 15 Aug 2023 14:19:04 +0900 Subject: [PATCH] ci(test): Modify ddev restart output redirection --- tests/test.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.bats b/tests/test.bats index dea708b..da48b9b 100644 --- a/tests/test.bats +++ b/tests/test.bats @@ -24,7 +24,7 @@ teardown() { cd ${TESTDIR} echo "# ddev get ${DIR} with project ${PROJNAME} in ${TESTDIR} ($(pwd))" >&3 ddev get ${DIR} >/dev/null - ddev restart >/dev/null 2>&1 + ddev restart >/dev/null curl -sI ${PROJNAME}.ddev.site:9091/db/admin/expArr/system.users | grep "HTTP/1.1 200 OK" out=$(curl -s ${PROJNAME}.ddev.site:9091/db/admin/expArr/system.users | jq -r ".[0].user") [ "${out}" = "db" ]