Skip to content

Commit

Permalink
Added test - Shibboleth status URL is available
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Bynum committed Aug 12, 2016
1 parent b1410c4 commit 7afaf90
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/running.bats
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,10 @@ load ../common
@test "Service is Shibboleth" {
docker exec -i $imagename curl -silent http://localhost:8080/ | grep 'Shibboleth'
}

@test "Shibboleth status URL is available" {
run docker exec -i $imagename curl -o /dev/null --silent --head --write-out '%{http_code}\n' http://localhost:8080/idp/status
echo ${output}
[ "$status" -eq 0 ]
[ ${output} == *"200"* ]
}

0 comments on commit 7afaf90

Please sign in to comment.