mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-07 13:33:32 +02:00
add comments
This commit is contained in:
@@ -5,6 +5,10 @@ jira=../jira
|
|||||||
|
|
||||||
PLAN 7
|
PLAN 7
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
## Verify logout works, we expect when we call the session api
|
||||||
|
## that we will get a 401 and prompt user for password
|
||||||
|
################################################################################
|
||||||
RUNS $jira logout
|
RUNS $jira logout
|
||||||
|
|
||||||
NRUNS $jira req /rest/auth/1/session </dev/null
|
NRUNS $jira req /rest/auth/1/session </dev/null
|
||||||
@@ -12,6 +16,10 @@ ODIFF <<EOF
|
|||||||
Jira Password [gojira]:
|
Jira Password [gojira]:
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
## Verify login works (password read from stdin) and verify that the
|
||||||
|
## sesion api no longer prompts
|
||||||
|
###############################################################################
|
||||||
echo "gojira123" | RUNS $jira login
|
echo "gojira123" | RUNS $jira login
|
||||||
|
|
||||||
RUNS $jira req /rest/auth/1/session </dev/null
|
RUNS $jira req /rest/auth/1/session </dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user