@@ -243,10 +243,10 @@ public function shouldMergePullRequestWithMergeMethod()
243
243
public function shouldCreatePullRequestUsingTitle ()
244
244
{
245
245
$ data = [
246
- 'base ' => 'master ' ,
247
- 'head ' => 'virtualtestbranch ' ,
246
+ 'base ' => 'master ' ,
247
+ 'head ' => 'virtualtestbranch ' ,
248
248
'title ' => 'TITLE: Testing pull-request creation from PHP Github API ' ,
249
- 'body ' => 'BODY: Testing pull-request creation from PHP Github API ' ,
249
+ 'body ' => 'BODY: Testing pull-request creation from PHP Github API ' ,
250
250
];
251
251
252
252
$ api = $ this ->getApiMock ();
@@ -263,8 +263,8 @@ public function shouldCreatePullRequestUsingTitle()
263
263
public function shouldCreatePullRequestUsingIssueId ()
264
264
{
265
265
$ data = [
266
- 'base ' => 'master ' ,
267
- 'head ' => 'virtualtestbranch ' ,
266
+ 'base ' => 'master ' ,
267
+ 'head ' => 'virtualtestbranch ' ,
268
268
'issue ' => 25 ,
269
269
];
270
270
@@ -282,10 +282,10 @@ public function shouldCreatePullRequestUsingIssueId()
282
282
public function shouldCreateDraftPullRequest ()
283
283
{
284
284
$ data = [
285
- 'base ' => 'master ' ,
286
- 'head ' => 'virtualtestbranch ' ,
285
+ 'base ' => 'master ' ,
286
+ 'head ' => 'virtualtestbranch ' ,
287
287
'title ' => 'TITLE: Testing draft pull-request creation from PHP Github API ' ,
288
- 'body ' => 'BODY: Testing draft pull-request creation from PHP Github API ' ,
288
+ 'body ' => 'BODY: Testing draft pull-request creation from PHP Github API ' ,
289
289
'draft ' => 'true ' ,
290
290
];
291
291
@@ -304,9 +304,9 @@ public function shouldNotCreatePullRequestWithoutBase()
304
304
{
305
305
$ this ->expectException (MissingArgumentException::class);
306
306
$ data = [
307
- 'head ' => 'virtualtestbranch ' ,
307
+ 'head ' => 'virtualtestbranch ' ,
308
308
'title ' => 'TITLE: Testing pull-request creation from PHP Github API ' ,
309
- 'body ' => 'BODY: Testing pull-request creation from PHP Github API ' ,
309
+ 'body ' => 'BODY: Testing pull-request creation from PHP Github API ' ,
310
310
];
311
311
312
312
$ api = $ this ->getApiMock ();
@@ -323,9 +323,9 @@ public function shouldNotCreatePullRequestWithoutHead()
323
323
{
324
324
$ this ->expectException (MissingArgumentException::class);
325
325
$ data = [
326
- 'base ' => 'master ' ,
326
+ 'base ' => 'master ' ,
327
327
'title ' => 'TITLE: Testing pull-request creation from PHP Github API ' ,
328
- 'body ' => 'BODY: Testing pull-request creation from PHP Github API ' ,
328
+ 'body ' => 'BODY: Testing pull-request creation from PHP Github API ' ,
329
329
];
330
330
331
331
$ api = $ this ->getApiMock ();
@@ -342,8 +342,8 @@ public function shouldNotCreatePullRequestUsingTitleButWithoutBody()
342
342
{
343
343
$ this ->expectException (MissingArgumentException::class);
344
344
$ data = [
345
- 'base ' => 'master ' ,
346
- 'head ' => 'virtualtestbranch ' ,
345
+ 'base ' => 'master ' ,
346
+ 'head ' => 'virtualtestbranch ' ,
347
347
'title ' => 'TITLE: Testing pull-request creation from PHP Github API ' ,
348
348
];
349
349
0 commit comments