@@ -243,10 +243,10 @@ public function shouldMergePullRequestWithMergeMethod()
243243 public function shouldCreatePullRequestUsingTitle ()
244244 {
245245 $ data = [
246- 'base ' => 'master ' ,
247- 'head ' => 'virtualtestbranch ' ,
246+ 'base ' => 'master ' ,
247+ 'head ' => 'virtualtestbranch ' ,
248248 '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 ' ,
250250 ];
251251
252252 $ api = $ this ->getApiMock ();
@@ -263,8 +263,8 @@ public function shouldCreatePullRequestUsingTitle()
263263 public function shouldCreatePullRequestUsingIssueId ()
264264 {
265265 $ data = [
266- 'base ' => 'master ' ,
267- 'head ' => 'virtualtestbranch ' ,
266+ 'base ' => 'master ' ,
267+ 'head ' => 'virtualtestbranch ' ,
268268 'issue ' => 25 ,
269269 ];
270270
@@ -282,10 +282,10 @@ public function shouldCreatePullRequestUsingIssueId()
282282 public function shouldCreateDraftPullRequest ()
283283 {
284284 $ data = [
285- 'base ' => 'master ' ,
286- 'head ' => 'virtualtestbranch ' ,
285+ 'base ' => 'master ' ,
286+ 'head ' => 'virtualtestbranch ' ,
287287 '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 ' ,
289289 'draft ' => 'true ' ,
290290 ];
291291
@@ -304,9 +304,9 @@ public function shouldNotCreatePullRequestWithoutBase()
304304 {
305305 $ this ->expectException (MissingArgumentException::class);
306306 $ data = [
307- 'head ' => 'virtualtestbranch ' ,
307+ 'head ' => 'virtualtestbranch ' ,
308308 '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 ' ,
310310 ];
311311
312312 $ api = $ this ->getApiMock ();
@@ -323,9 +323,9 @@ public function shouldNotCreatePullRequestWithoutHead()
323323 {
324324 $ this ->expectException (MissingArgumentException::class);
325325 $ data = [
326- 'base ' => 'master ' ,
326+ 'base ' => 'master ' ,
327327 '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 ' ,
329329 ];
330330
331331 $ api = $ this ->getApiMock ();
@@ -342,8 +342,8 @@ public function shouldNotCreatePullRequestUsingTitleButWithoutBody()
342342 {
343343 $ this ->expectException (MissingArgumentException::class);
344344 $ data = [
345- 'base ' => 'master ' ,
346- 'head ' => 'virtualtestbranch ' ,
345+ 'base ' => 'master ' ,
346+ 'head ' => 'virtualtestbranch ' ,
347347 'title ' => 'TITLE: Testing pull-request creation from PHP Github API ' ,
348348 ];
349349
0 commit comments