summaryrefslogtreecommitdiffstats
path: root/tests/health_mgmtapi/health-cmdapi-test.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/health_mgmtapi/health-cmdapi-test.sh.in')
-rwxr-xr-xtests/health_mgmtapi/health-cmdapi-test.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/health_mgmtapi/health-cmdapi-test.sh.in b/tests/health_mgmtapi/health-cmdapi-test.sh.in
index 0847be0079..5e218b11e4 100755
--- a/tests/health_mgmtapi/health-cmdapi-test.sh.in
+++ b/tests/health_mgmtapi/health-cmdapi-test.sh.in
@@ -41,7 +41,7 @@ check () {
cmd () {
echo -e "${WHITE}Cmd '${1}', expecting '${2}'"
- RESPONSE=$(curl -s "http://$URL/api/v1/manage/health?${1}" -H "Authorization: Bearer $TOKEN" 2>&1)
+ RESPONSE=$(curl -s "http://$URL/api/v1/manage/health?${1}" -H "X-Auth-Token: $TOKEN" 2>&1)
if [ "${RESPONSE}" != "${2}" ] ; then
echo -e "${RED}ERROR: Response '${RESPONSE}' != '${2}'"
err=$((err+1))