* [bug52333,doing,1h] get cases and scenes.

This commit is contained in:
zhouxin
2024-09-06 09:06:59 +08:00
committed by 曹延义
parent 3239f81bd9
commit 95130181d3
2 changed files with 19 additions and 0 deletions
+1
View File
@@ -408,6 +408,7 @@ class testtask extends control
/* 从数据库中查询一个测试单下关联的测试用例。*/
/* Query the cases associated with a testtask from the database. */
$runs = $this->testtask->getTaskCases($productID, $browseType, $queryID, $moduleID, $sort, $pager, $testtask);
$runs = $this->testtask->getSceneCases($productID, $runs);
$this->loadModel('common')->saveQueryCondition($this->dao->get(), 'testcase', false);
list($runs, $scenes) = $this->testtask->getSceneCases($productID, $runs);