mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-09-22 04:15:54 -04:00
Fix manageauth test with missing id
404 is the expected result
This commit is contained in:
parent
e15cd692e8
commit
b7087c38e0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user