* finish task #7088.

This commit is contained in:
wangyidong
2020-05-06 10:38:09 +08:00
parent d369ccdab6
commit 5ea2467bee
4 changed files with 289 additions and 284 deletions
+5 -2
View File
@@ -505,8 +505,11 @@ class testcase extends control
$results = $this->testtask->getResults($run->id);
$result = array_shift($results);
$case->xml = $result->xml;
$case->duration = $result->duration;
if($result)
{
$case->xml = $result->xml;
$case->duration = $result->duration;
}
}
$branches = $this->session->currentProductType == 'normal' ? array() : $this->loadModel('branch')->getPairs($case->product);