File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,11 @@ testcase "issue creation" '
6060 OUTPUT=$(GITLAB project-issue create --project-id "$PROJECT_ID" \
6161 --title "my issue" --description "my issue description")
6262'
63- ISSUE_ID=$( pecho " ${OUTPUT} " | grep ^id : | cut -d' ' -f2)
63+ ISSUE_ID=$( pecho " ${OUTPUT} " | grep ^iid : | cut -d' ' -f2)
6464
6565testcase " note creation" '
6666 GITLAB project-issue-note create --project-id "$PROJECT_ID" \
67- --issue-id "$ISSUE_ID" --body "the body" >/dev/null 2>&1
67+ --issue-iid "$ISSUE_ID" --body "the body" >/dev/null 2>&1
6868'
6969
7070testcase " branch creation" '
@@ -82,11 +82,11 @@ testcase "merge request creation" '
8282 --source-branch branch1 --target-branch master \
8383 --title "Update README")
8484'
85- MR_ID=$( pecho " ${OUTPUT} " | grep ^id : | cut -d' ' -f2)
85+ MR_ID=$( pecho " ${OUTPUT} " | grep ^iid : | cut -d' ' -f2)
8686
8787testcase " merge request validation" '
8888 GITLAB project-merge-request merge --project-id "$PROJECT_ID" \
89- --id "$MR_ID" >/dev/null 2>&1
89+ --iid "$MR_ID" >/dev/null 2>&1
9090'
9191
9292testcase " branch deletion" '
You can’t perform that action at this time.
0 commit comments