mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 14:52:40 +01:00
Export namespace in ArcanistUnitTestResult
dictionary
Summary: D7952 added namespaces to `ArcanistUnitTestResult` but these are not exported and thus don't get sent from client to server. Test Plan: Uploaded a diff and inspected the contents of the `phabricator_differential.differential_diffproperty` table. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11208
This commit is contained in:
parent
4fe5243d81
commit
9e6f876a68
2 changed files with 2 additions and 8 deletions
|
@ -122,6 +122,7 @@ final class ArcanistUnitTestResult {
|
|||
|
||||
public function toDictionary() {
|
||||
return array(
|
||||
'namespace' => $this->getNamespace(),
|
||||
'name' => $this->getName(),
|
||||
'link' => $this->getLink(),
|
||||
'result' => $this->getResult(),
|
||||
|
|
|
@ -1333,14 +1333,7 @@ EOTEXT
|
|||
|
||||
$this->testResults = array();
|
||||
foreach ($unit_workflow->getTestResults() as $test) {
|
||||
$this->testResults[] = array(
|
||||
'name' => $test->getName(),
|
||||
'link' => $test->getLink(),
|
||||
'result' => $test->getResult(),
|
||||
'userdata' => $test->getUserData(),
|
||||
'coverage' => $test->getCoverage(),
|
||||
'extra' => $test->getExtraData(),
|
||||
);
|
||||
$this->testResults[] = $test->toDictionary();
|
||||
}
|
||||
|
||||
return $unit_result;
|
||||
|
|
Loading…
Reference in a new issue