1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 12:00:55 +01:00

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
This commit is contained in:
mgummelt 2011-09-08 17:40:20 -07:00
parent a1d1c69506
commit 40b8e352ad

View file

@ -82,6 +82,8 @@ class ConduitAPI_differential_getdiff_Method extends ConduitAPIMethod {
'revisionID' => $diff->getRevisionID(), 'revisionID' => $diff->getRevisionID(),
'sourceControlBaseRevision' => $diff->getSourceControlBaseRevision(), 'sourceControlBaseRevision' => $diff->getSourceControlBaseRevision(),
'sourceControlPath' => $diff->getSourceControlPath(), 'sourceControlPath' => $diff->getSourceControlPath(),
'unitStatus' => $diff->getUnitStatus(),
'lintStatus' => $diff->getLintStatus(),
'changes' => array(), 'changes' => array(),
'properties' => array(), 'properties' => array(),
); );