Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
b7087c38
Commit
b7087c38
authored
Mar 04, 2017
by
Marvin Scholz
Browse files
Fix manageauth test with missing id
404 is the expected result
parent
e15cd692
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/admin-tests.sh
View file @
b7087c38
...
...
@@ -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"
40
0
"
$AUTH_ADMIN
"
test_endpoint
"admin/manageauth?id=99&username=
$L_USER
&password=
$L_PASS
&action=add"
40
4
"
$AUTH_ADMIN
"
test_endpoint
"admin/manageauth?id=4&username=
$L_USER
&password=
$L_PASS
&action=add"
200
"
$AUTH_ADMIN
"
echo
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment