Test Setup Failed
Push — 1.x-dev ( dd68ba...282fa8 )
by Brian
04:39
created
src/Lib/JiraProject.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -533,10 +533,10 @@
 block discarded – undo
533 533
         try {
534 534
             $ret = $issueService->create($issueField);
535 535
         } catch (\JiraRestApi\JiraException $e) {
536
-             //Sample return error with json in it.
537
-             //Pasting here so I can mock this return message in the unit tests.
538
-             //CURL HTTP Request Failed: Status Code : 400, URL:https://[hostname]/rest/api/2/issue
539
-             //Error Message : {"errorMessages":[],"errors":{"user_type":"Field 'user_type' cannot be set. It is not on the appropriate screen, or unknown."}}             */
536
+                //Sample return error with json in it.
537
+                //Pasting here so I can mock this return message in the unit tests.
538
+                //CURL HTTP Request Failed: Status Code : 400, URL:https://[hostname]/rest/api/2/issue
539
+                //Error Message : {"errorMessages":[],"errors":{"user_type":"Field 'user_type' cannot be set. It is not on the appropriate screen, or unknown."}}             */
540 540
             $msg = $e->getMessage();
541 541
             if (strpos($msg, '{') !== false) {
542 542
                 $msg = str_split($msg);
Please login to merge, or discard this patch.