Skip to content

Commit

Permalink
Update test.bats
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl Grasegger authored Jan 28, 2023
1 parent 472d697 commit 4803926
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,16 @@ teardown() {
# Do something here to verify functioning extra service
# For extra credit, use a real CMS with actual config.
# ddev exec "curl -s elasticsearch:9200" | grep "${PROJNAME}-elasticsearch"
command -v task
}

@test "install from release" {
set -eu -o pipefail
cd ${TESTDIR} || ( printf "unable to cd to ${TESTDIR}\n" && exit 1 )
echo "# ddev get drud/ddev-addon-template with project ${PROJNAME} in ${TESTDIR} ($(pwd))" >&3
ddev get drud/ddev-addon-template
ddev get gebruederheitz/ddev-taskfile
ddev restart >/dev/null
# Do something useful here that verifies the add-on
# ddev exec "curl -s elasticsearch:9200" | grep "${PROJNAME}-elasticsearch"
command -v task
}

0 comments on commit 4803926

Please sign in to comment.