From b7087c38e0e196c04e5415411a9b6a4ca9ee3e80 Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Sat, 4 Mar 2017 20:40:30 +0100 Subject: [PATCH] Fix manageauth test with missing id 404 is the expected result --- tests/admin-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/admin-tests.sh b/tests/admin-tests.sh index 767d0959..eba336bf 100755 --- a/tests/admin-tests.sh +++ b/tests/admin-tests.sh @@ -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