diff --git a/tests/test.bats b/tests/test.bats index b41afac..9b7174a 100644 --- a/tests/test.bats +++ b/tests/test.bats @@ -12,9 +12,9 @@ setup() { } health_checks() { - # Do something useful here that verifies the add-on - # ddev exec "curl -s elasticsearch:9200" | grep "${PROJNAME}-elasticsearch" - ddev exec "curl -s https://localhost:443/" + output = ddev pa11y --help + # Check if the output contains "Healthcheck passed!" + [[ $output == *"Usage: pa11y"* ]] } teardown() {