From b1de04aa68363e85336932b3b61a96fd9f907e0d Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 29 Feb 2016 08:02:37 -0800 Subject: [PATCH] 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 --- src/workflow/ArcanistWorkflow.php | 7 +++++++ 1 file changed, 7 insertions(+) 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; } -- 2.43.0