From: epriestley Date: Mon, 29 Feb 2016 16:02:37 +0000 (-0800) Subject: Report unit test details from Arcanist to Harbormaster X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=b1de04aa68363e85336932b3b61a96fd9f907e0d;p=arcanist.git Report unit test details from Arcanist to Harbormaster Summary: Ref T10457. Provides information for D15363. Test Plan: See D15363. Reviewers: chad Reviewed By: chad Maniphest Tasks: T9951, T10457 Differential Revision: https://secure.phabricator.com/D15364 --- diff --git a/src/workflow/ArcanistWorkflow.php b/src/workflow/ArcanistWorkflow.php index ad57c843..f30fdc47 100644 --- a/src/workflow/ArcanistWorkflow.php +++ b/src/workflow/ArcanistWorkflow.php @@ -2036,6 +2036,13 @@ abstract class ArcanistWorkflow extends Phobject { protected function getModernUnitDictionary(array $map) { $map = $this->getModernCommonDictionary($map); + + $details = idx($map, 'userData'); + if (strlen($details)) { + $map['details'] = (string)$details; + } + unset($map['userData']); + return $map; }