Skip to content

Commit

Permalink
Added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjol committed Apr 8, 2024
1 parent 6a053e6 commit 97638d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 97638d9

Please sign in to comment.