diff --git a/module/testtask/control.php b/module/testtask/control.php index 8c973ca2c9..84b26e3009 100644 --- a/module/testtask/control.php +++ b/module/testtask/control.php @@ -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);