Skip to content

Commit 73b4a0a

Browse files
committed
Move test stuff into tests folder
1 parent a6ddbd1 commit 73b4a0a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

test.bats renamed to tests/test.bats

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ setup() {
44
PROJNAME=testsolr
55
ddev delete -Oy ${PROJNAME} || true
66
export DDEV_NON_INTERACTIVE=true
7-
cd "${TESTDIR}"
7+
cd "${TESTDIR}" || exit 1
88
ddev config --project-name=${PROJNAME} --project-type=drupal9 --docroot=web --create-docroot --mutagen-enabled
99
ddev composer create -y -n --no-install drupal/recommended-project
1010
ddev composer require -n --no-install drush/drush:* drupal/search_api_solr
@@ -24,5 +24,8 @@ teardown() {
2424
pushd ${TESTDIR} >/dev/null
2525
ddev service get ${DIR}
2626
ddev restart
27-
curl -I -H "Host: ${DDEV_SITENAME}.${DDEV_TLD}" http://${DDEV_SITENAME}.${DDEV_TLD}:8983/solr/#/
27+
set | grep DDEV
28+
set -x
29+
curl -s -L -I http://${DDEV_SITENAME}.${DDEV_TLD}:8983/solr/#/~cores/dev
30+
set +x
2831
}
File renamed without changes.

0 commit comments

Comments
 (0)