* Add the related test report for create testtask.

This commit is contained in:
hufangzhou
2021-05-13 09:29:41 +08:00
parent 51af4491d9
commit 0a10378c6a
13 changed files with 56 additions and 6 deletions
+14
View File
@@ -1413,4 +1413,18 @@ class testtask extends control
$pairs = $this->testtask->getPairs($productID, $executionID);
die(html::select('testtask', $pairs, '', "class='form-control chosen'"));
}
/**
* Ajax get test report.
*
* @param int $buildID
* @access public
* @return void
*/
public function ajaxGetTestReports($buildID)
{
/* Testreport list. */
$pairs = $this->dao->select('id,title')->from(TABLE_TESTREPORT)->where('builds')->like('%' . $buildID . '%')->fetchPairs('id','title');
die(html::select('testreport', $pairs, '', "class='form-control chosen'"));
}
}