@@ -46,7 +46,8 @@ sleep 20
4646set -e
4747
4848echo -n " Testing project creation... "
49- PROJECT_ID=$( $GITLAB project create --name test-project1 | grep ^id: | cut -d' ' -f2)
49+ PROJECT_ID=$( $GITLAB project create --name test-project1 \
50+ | grep ^id: | cut -d' ' -f2)
5051$GITLAB project list | grep -q test-project1
5152$OK
5253
@@ -55,7 +56,8 @@ $GITLAB project update --id $PROJECT_ID --description "My New Description"
5556$OK
5657
5758echo -n " Testing user creation... "
58- USER_ID=$( $GITLAB user create --email fake@email.com --username user1 --name " User One" --password fakepassword | grep ^id: | cut -d' ' -f2)
59+ USER_ID=$( $GITLAB user create --email fake@email.com --username user1 \
60+ --name " User One" --password fakepassword | grep ^id: | cut -d' ' -f2)
5961$OK
6062
6163echo -n " Testing verbose output... "
@@ -67,27 +69,35 @@ $GITLAB -v user list | grep -qv config-file
6769$OK
6870
6971echo -n " Testing adding member to a project... "
70- $GITLAB project-member create --project-id $PROJECT_ID --user-id $USER_ID --access-level 40 > /dev/null 2>&1
72+ $GITLAB project-member create --project-id $PROJECT_ID \
73+ --user-id $USER_ID --access-level 40 > /dev/null 2>&1
7174$OK
7275
7376echo -n " Testing file creation... "
74- $GITLAB project-file create --project-id $PROJECT_ID --file-path README --branch-name master --content " CONTENT" --commit-message " Initial commit" > /dev/null 2>&1
77+ $GITLAB project-file create --project-id $PROJECT_ID \
78+ --file-path README --branch-name master --content " CONTENT" \
79+ --commit-message " Initial commit" > /dev/null 2>&1
7580$OK
7681
7782echo -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)
83+ ISSUE_ID=$( $GITLAB project-issue create --project-id $PROJECT_ID \
84+ --title " my issue" --description " my issue description" \
85+ | grep ^id: | cut -d' ' -f2)
7986$OK
8087
8188echo -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
89+ $GITLAB project-issue-note create --project-id $PROJECT_ID \
90+ --issue-id $ISSUE_ID --body " the body" > /dev/null 2>&1
8391$OK
8492
8593echo -n " Testing branch creation... "
86- $GITLAB project-branch create --project-id $PROJECT_ID --branch-name branch1 --ref master > /dev/null 2>&1
94+ $GITLAB project-branch create --project-id $PROJECT_ID \
95+ --branch-name branch1 --ref master > /dev/null 2>&1
8796$OK
8897
8998echo -n " Testing branch deletion... "
90- $GITLAB project-branch delete --project-id $PROJECT_ID --name branch1 > /dev/null 2>&1
99+ $GITLAB project-branch delete --project-id $PROJECT_ID \
100+ --name branch1 > /dev/null 2>&1
91101$OK
92102
93103echo -n " Testing project deletion... "
0 commit comments