@@ -70,15 +70,23 @@ echo -n "Testing adding member to a project... "
70
70
$GITLAB project-member create --project-id$PROJECT_ID --user-id$USER_ID --access-level 40> /dev/null2>&1
71
71
$OK
72
72
73
- echo -n" Creating a file..."
73
+ echo -n" Testing file creation ..."
74
74
$GITLAB project-file create --project-id$PROJECT_ID --file-path README --branch-name master --content" CONTENT" --commit-message" Initial commit" > /dev/null2>&1
75
75
$OK
76
76
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/null2>&1
83
+ $OK
84
+
85
+ echo -n" Testing branch creation..."
78
86
$GITLAB project-branch create --project-id$PROJECT_ID --branch-name branch1 --ref master> /dev/null2>&1
79
87
$OK
80
88
81
- echo -n" Deleting a branch..."
89
+ echo -n" Testing branch deletion ..."
82
90
$GITLAB project-branch delete --project-id$PROJECT_ID --name branch1> /dev/null2>&1
83
91
$OK
84
92