File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
Original file line number Diff line number Diff line change @@ -89,6 +89,31 @@ testcase "merge request validation" '
89
89
--iid "$MR_ID" >/dev/null 2>&1
90
90
'
91
91
92
+ # Test project variables
93
+ testcase " create project variable" '
94
+ OUTPUT=$(GITLAB -v project-variable create --project-id $PROJECT_ID \
95
+ --key junk --value car)
96
+ '
97
+
98
+ testcase " get project variable" '
99
+ OUTPUT=$(GITLAB -v project-variable get --project-id $PROJECT_ID \
100
+ --key junk)
101
+ '
102
+
103
+ testcase " update project variable" '
104
+ OUTPUT=$(GITLAB -v project-variable update --project-id $PROJECT_ID \
105
+ --key junk --value bus)
106
+ '
107
+
108
+ testcase " list project variable" '
109
+ OUTPUT=$(GITLAB -v project-variable list --project-id $PROJECT_ID)
110
+ '
111
+
112
+ testcase " delete project variable" '
113
+ OUTPUT=$(GITLAB -v project-variable delete --project-id $PROJECT_ID \
114
+ --key junk)
115
+ '
116
+
92
117
testcase " branch deletion" '
93
118
GITLAB project-branch delete --project-id "$PROJECT_ID" \
94
119
--name branch1 >/dev/null 2>&1
You can’t perform that action at this time.
0 commit comments