From 40b8e352ad9157dac9ec015345e6ebae958a7bb5 Mon Sep 17 00:00:00 2001 From: mgummelt Date: Thu, 8 Sep 2011 17:40:20 -0700 Subject: [PATCH] Include the unit status in the getdiff conduit method Summary: We need to query the unit status in order to determine if there are postponed unit tests to update after running "arc unit" Test Plan: 1) set my conduit uri to a server running the new code 2) ensured unitStatus existed when retrieving a diff Reviewers: epriestley Reviewed By: epriestley CC: dpepper, aran, epriestley Differential Revision: 918 --- .../getdiff/ConduitAPI_differential_getdiff_Method.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/applications/conduit/method/differential/getdiff/ConduitAPI_differential_getdiff_Method.php b/src/applications/conduit/method/differential/getdiff/ConduitAPI_differential_getdiff_Method.php index c174d3179d..1d1c24c7be 100644 --- a/src/applications/conduit/method/differential/getdiff/ConduitAPI_differential_getdiff_Method.php +++ b/src/applications/conduit/method/differential/getdiff/ConduitAPI_differential_getdiff_Method.php @@ -82,6 +82,8 @@ class ConduitAPI_differential_getdiff_Method extends ConduitAPIMethod { 'revisionID' => $diff->getRevisionID(), 'sourceControlBaseRevision' => $diff->getSourceControlBaseRevision(), 'sourceControlPath' => $diff->getSourceControlPath(), + 'unitStatus' => $diff->getUnitStatus(), + 'lintStatus' => $diff->getLintStatus(), 'changes' => array(), 'properties' => array(), );