File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -70,15 +70,23 @@ echo -n "Testing adding member to a project... "
7070$GITLAB project-member create --project-id $PROJECT_ID --user-id $USER_ID --access-level 40 > /dev/null 2>&1
7171$OK
7272
73- echo -n " Creating a file... "
73+ echo -n " Testing file creation ... "
7474$GITLAB project-file create --project-id $PROJECT_ID --file-path README --branch-name master --content " CONTENT" --commit-message " Initial commit" > /dev/null 2>&1
7575$OK
7676
77- echo -n " Creating a branch... "
77+ echo -n " Testing issue creation... "
78+ ISSUE_ID=$( $GITLAB project-issue create --project-id $PROJECT_ID --title " my issue" --description " my issue description" | grep ^id: | cut -d' ' -f2)
79+ $OK
80+
81+ echo -n " Testing note creation... "
82+ $GITLAB project-issue-note create --project-id $PROJECT_ID --issue-id $ISSUE_ID --body " the body" > /dev/null 2>&1
83+ $OK
84+
85+ echo -n " Testing branch creation... "
7886$GITLAB project-branch create --project-id $PROJECT_ID --branch-name branch1 --ref master > /dev/null 2>&1
7987$OK
8088
81- echo -n " Deleting a branch... "
89+ echo -n " Testing branch deletion ... "
8290$GITLAB project-branch delete --project-id $PROJECT_ID --name branch1 > /dev/null 2>&1
8391$OK
8492
You can’t perform that action at this time.
0 commit comments