Commit 1e46a19a authored by Marvin Scholz's avatar Marvin Scholz

Fix: Correct wrong listmounts-adminauth-mount test

The expected result when authenticated is of course 200 and not 400.
parent f005aa71
......@@ -136,7 +136,7 @@ test_endpoint "listmounts-noauth" "admin/listmounts"
test_endpoint "listmounts-sourceauth" "admin/listmounts" 401 "$AUTH_SOURCE"
test_endpoint "listmounts-listenerauth" "admin/listmounts" 401 "$L_AUTH"
test_endpoint "listmounts-adminauth" "admin/listmounts" 200 "$AUTH_ADMIN"
test_endpoint "listmounts-adminauth-mount" "admin/listmounts?mount=%2F$MOUNT_LISTENER_AUTH" 400 "$AUTH_ADMIN"
test_endpoint "listmounts-adminauth-mount" "admin/listmounts?mount=%2F$MOUNT_LISTENER_AUTH" 200 "$AUTH_ADMIN"
echo "#"
echo "# Testing mountpoint which requires auth"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment