Skip to content

Commit

Permalink
Remove superflous "health_checks" assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich committed Feb 22, 2024
1 parent 1259001 commit 768242a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ setup() {
ddev start -y >/dev/null
}

health_checks() {
# Do something useful here that verifies the add-on
# ddev exec "curl -s elasticsearch:9200" | grep "${PROJNAME}-elasticsearch"
ddev exec "curl -s https://localhost:443/" | grep "Hello world"
}

teardown() {
set -eu -o pipefail
cd ${TESTDIR} || ( printf "unable to cd to ${TESTDIR}\n" && exit 1 )
Expand Down Expand Up @@ -87,6 +81,5 @@ EOF
echo "# ddev get mittwald/ddev with project ${PROJNAME} in ${TESTDIR} ($(pwd))" >&3
ddev get mittwald/ddev
ddev restart >/dev/null
health_checks
}

0 comments on commit 768242a

Please sign in to comment.