diff options
author | Guido Günther <agx@sigxcpu.org> | 2018-05-08 15:42:38 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2018-05-08 16:29:14 +0200 |
commit | d03d1f7bcdb62d68d577c3239033e92f43a583dd (patch) | |
tree | 2f6e64d778fc8772d38d1a6a4b7b244aa41ea770 /tests | |
parent | 6ba2973ed2e02046ebfdf343f88b324080240432 (diff) |
Add version API
used by Foreman 1.17
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test.sh b/tests/test.sh index 50739f5..56de8ee 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -4,6 +4,9 @@ set -e HOST=${HOST:-localhost} # Check features +curl -s -H "Content-Type: application/json" http://$HOST:8080/version + +# Check features curl -s -H "Content-Type: application/json" http://$HOST:8080/features \ | grep -qs '["realm"]' |