File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -137,6 +137,42 @@ public function testUpdateIssue($issueKey)
137
137
}
138
138
}
139
139
140
+ /**
141
+ * @depends testChangeAssignee
142
+ */
143
+ public function testChangeAssignee ($ issueKey )
144
+ {
145
+ try {
146
+ $ issueService = new IssueService ();
147
+
148
+ $ ret = $ issueService ->changeAssignee ($ issueKey , 'lesstif ' );
149
+
150
+ print_r ($ ret );
151
+
152
+ return $ issueKey ;
153
+ } catch (JiraException $ e ) {
154
+ $ this ->assertTrue (false , 'Change assignee failed : ' .$ e ->getMessage ());
155
+ }
156
+ }
157
+
158
+ /**
159
+ * @depends testChangeAssignee
160
+ */
161
+ public function testDeleteIssue ($ issueKey )
162
+ {
163
+ try {
164
+ $ issueService = new IssueService ();
165
+
166
+ $ ret = $ issueService ->deleteIssue ($ issueKey );
167
+
168
+ print_r ($ ret );
169
+
170
+ return $ issueKey ;
171
+ } catch (JiraException $ e ) {
172
+ $ this ->assertTrue (false , 'delete issue failed : ' .$ e ->getMessage ());
173
+ }
174
+ }
175
+
140
176
/**
141
177
* @depends testUpdateIssue
142
178
*/
You can’t perform that action at this time.
0 commit comments