Skip to content

Commit

Permalink
Use ddev add-on command
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler36 committed Oct 25, 2024
1 parent 67c6e55 commit 29aac7a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ teardown() {
@test "install from directory" {
set -eu -o pipefail
cd ${TESTDIR}
echo "# ddev get ${DIR} with project ${PROJNAME} in ${TESTDIR} ($(pwd))" >&3
ddev get ${DIR}
echo "# ddev add-on get ${DIR} with project ${PROJNAME} in ${TESTDIR} ($(pwd))" >&3
ddev add-on get ${DIR}
ddev restart

# backstop is installed and can show its version
Expand All @@ -37,8 +37,8 @@ teardown() {
#@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
# echo "# ddev add-on get drud/ddev-addon-template with project ${PROJNAME} in ${TESTDIR} ($(pwd))" >&3
# ddev add-on get drud/ddev-addon-template
# ddev restart >/dev/null
# # Do something useful here that verifies the add-on
# # ddev exec "curl -s elasticsearch:9200" | grep "${PROJNAME}-elasticsearch"
Expand Down

0 comments on commit 29aac7a

Please sign in to comment.