File tree Expand file tree Collapse file tree 4 files changed +21
-21
lines changed Expand file tree Collapse file tree 4 files changed +21
-21
lines changed Original file line number Diff line number Diff line change 188
188
'description ' => 'Here goes the issue description ' ,
189
189
'uploads ' => [
190
190
[
191
- 'token ' => $ upload ->upload ->token ,
192
- 'filename ' => 'MyFile.pdf ' ,
193
- 'description ' => 'MyFile is better then YourFile... ' ,
194
- 'content_type ' => 'application/pdf ' ,
191
+ 'token ' => $ upload ->upload ->token ,
192
+ 'filename ' => 'MyFile.pdf ' ,
193
+ 'description ' => 'MyFile is better then YourFile... ' ,
194
+ 'content_type ' => 'application/pdf ' ,
195
195
],
196
196
],
197
197
]);
376
376
377
377
// ----------------------------
378
378
// Search
379
- $ client ->search ->search (" Myproject " , [ " limit " => 100 ])
379
+ $ client ->search ->search (' Myproject ' , [' limit ' => 100 ])
Original file line number Diff line number Diff line change @@ -185,14 +185,14 @@ public function testCreateCallsPost()
185
185
$ client ->expects ($ this ->once ())
186
186
->method ('post ' )
187
187
->with (
188
- '/issues/1/relations.json ' ,
189
- json_encode ([
190
- 'relation ' => [
191
- 'relation_type ' => 'relates ' ,
192
- ],
193
- ])
194
- )
195
- ->willReturn ($ postResponse );
188
+ '/issues/1/relations.json ' ,
189
+ json_encode ([
190
+ 'relation ' => [
191
+ 'relation_type ' => 'relates ' ,
192
+ ],
193
+ ])
194
+ )
195
+ ->willReturn ($ postResponse );
196
196
197
197
// Create the object under test
198
198
$ api = new IssueRelation ($ client );
Original file line number Diff line number Diff line change @@ -228,12 +228,12 @@ public function testCreateCallsPost()
228
228
'project_id ' => '25 ' ,
229
229
'hours ' => '5.25 ' ,
230
230
'custom_fields ' => [
231
- [
231
+ [
232
232
'id ' => 1 ,
233
233
'name ' => 'Affected version ' ,
234
234
'value ' => '1.0.1 ' ,
235
235
],
236
- [
236
+ [
237
237
'id ' => 2 ,
238
238
'name ' => 'Resolution ' ,
239
239
'value ' => 'Fixed ' ,
@@ -281,12 +281,12 @@ public function testUpdateCallsPut()
281
281
$ parameters = [
282
282
'hours ' => '10.25 ' ,
283
283
'custom_fields ' => [
284
- [
284
+ [
285
285
'id ' => 1 ,
286
286
'name ' => 'Affected version ' ,
287
287
'value ' => '1.0.1 ' ,
288
288
],
289
- [
289
+ [
290
290
'id ' => 2 ,
291
291
'name ' => 'Resolution ' ,
292
292
'value ' => 'Fixed ' ,
Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ public function testCreateComplexWithUpload()
36
36
'description ' => 'Here goes the issue description ' ,
37
37
'uploads ' => [
38
38
[
39
- 'token ' => 'asdfasdfasdfasdf ' ,
40
- 'filename ' => 'MyFile.pdf ' ,
41
- 'description ' => 'MyFile is better then YourFile... ' ,
42
- 'content_type ' => 'application/pdf ' ,
39
+ 'token ' => 'asdfasdfasdfasdf ' ,
40
+ 'filename ' => 'MyFile.pdf ' ,
41
+ 'description ' => 'MyFile is better then YourFile... ' ,
42
+ 'content_type ' => 'application/pdf ' ,
43
43
],
44
44
],
45
45
]);
You can’t perform that action at this time.
0 commit comments