Add test plan to differential.revision.search
Summary: Ref T13151. Ref PHI622. Test Plan: Loaded a revision in the Conduit UI; observed presence of `testPlan` field. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T13151 Differential Revision: https://secure.phabricator.com/D19518
This commit is contained in:
parent
185c28f307
commit
67283c7a45
|
@ -1148,6 +1148,10 @@ final class DifferentialRevision extends DifferentialDAO
|
||||||
->setKey('summary')
|
->setKey('summary')
|
||||||
->setType('string')
|
->setType('string')
|
||||||
->setDescription(pht('Revision summary.')),
|
->setDescription(pht('Revision summary.')),
|
||||||
|
id(new PhabricatorConduitSearchFieldSpecification())
|
||||||
|
->setKey('testPlan')
|
||||||
|
->setType('string')
|
||||||
|
->setDescription(pht('Revision test plan.')),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1167,6 +1171,7 @@ final class DifferentialRevision extends DifferentialDAO
|
||||||
'repositoryPHID' => $this->getRepositoryPHID(),
|
'repositoryPHID' => $this->getRepositoryPHID(),
|
||||||
'diffPHID' => $this->getActiveDiffPHID(),
|
'diffPHID' => $this->getActiveDiffPHID(),
|
||||||
'summary' => $this->getSummary(),
|
'summary' => $this->getSummary(),
|
||||||
|
'testPlan' => $this->getTestPlan(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue