Commit b7087c38 authored by Marvin Scholz's avatar Marvin Scholz
Browse files

Fix manageauth test with missing id

404 is the expected result
parent e15cd692
......@@ -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"
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