1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-16 06:15:24 +00:00

Fix manageauth test with missing id

404 is the expected result
This commit is contained in:
Marvin Scholz 2017-03-04 20:40:30 +01:00
parent e15cd692e8
commit b7087c38e0

View File

@ -51,7 +51,7 @@ echo
echo "Testing admin/manageauth endpoint"
test_endpoint "admin/manageauth?id=4&username=$L_USER&password=$L_PASS&action=add" 401
test_endpoint "admin/manageauth?id=99&username=$L_USER&password=$L_PASS&action=add" 401
test_endpoint "admin/manageauth?id=99&username=$L_USER&password=$L_PASS&action=add" 400 "$AUTH_ADMIN"
test_endpoint "admin/manageauth?id=99&username=$L_USER&password=$L_PASS&action=add" 404 "$AUTH_ADMIN"
test_endpoint "admin/manageauth?id=4&username=$L_USER&password=$L_PASS&action=add" 200 "$AUTH_ADMIN"
echo