* [misc] remove duplicate code.

This commit is contained in:
zhouxin
2024-09-06 09:06:59 +08:00
committed by 曹延义
parent 9e49daa8ac
commit 4e410f3064
-1
View File
@@ -408,7 +408,6 @@ 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);