From 8dcaa1399063b279ab220b8ea2febcf04f22e01f Mon Sep 17 00:00:00 2001 From: Jen Lampton Date: Wed, 16 Oct 2024 20:01:18 -0700 Subject: [PATCH] Issue #1: Get tests working by pointing to the correct source. --- tests/test.bats | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/test.bats b/tests/test.bats index 3470fb1..fe3714f 100644 --- a/tests/test.bats +++ b/tests/test.bats @@ -1,9 +1,9 @@ setup() { set -eu -o pipefail export DIR="$( cd "$( dirname "$BATS_TEST_FILENAME" )" >/dev/null 2>&1 && pwd )/.." - export TESTDIR=~/tmp/test-addon-template + export TESTDIR=~/tmp/test-backdrop-bee mkdir -p $TESTDIR - export PROJNAME=test-addon-template + export PROJNAME=test-backdrop-bee export DDEV_NONINTERACTIVE=true ddev delete -Oy ${PROJNAME} >/dev/null 2>&1 || true cd "${TESTDIR}" @@ -13,6 +13,7 @@ setup() { health_checks() { # Do something useful here that verifies the add-on + ddev restart ddev bee status } @@ -36,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 ddev/ddev-addon-template with project ${PROJNAME} in ${TESTDIR} ($(pwd))" >&3 - ddev get ddev/ddev-addon-template + echo "# ddev get jenlampton/ddev-backdrop-bee with project ${PROJNAME} in ${TESTDIR} ($(pwd))" >&3 + ddev get jenlampton/ddev-backdrop-bee ddev restart >/dev/null health_checks }