Skip to content

Commit

Permalink
Verify that the web page works in test
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Mar 22, 2022
1 parent 4e4dd71 commit ca72886
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ teardown() {
echo "# ddev get ${DIR} with project ${PROJNAME} in ${TESTDIR} ($(pwd))" >&3
ddev get ${DIR}
ddev restart
# 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"
URL=$(ddev describe -j ${PROJNAME} | jq -r .raw.services.\"redis-commander\".http_url)
curl -s --fail ${URL} | grep "<title>Redis Commander: Home"
}

@test "install from release" {
Expand Down

0 comments on commit ca72886

Please sign in to comment.