* getdataoftasksperexecution method

This commit is contained in:
zenggang
2023-04-27 01:19:05 +00:00
parent 5b418eb8db
commit 19bcdfeef5
4 changed files with 71 additions and 28 deletions
+4 -1
View File
@@ -1026,11 +1026,14 @@ class taskTest
/**
* Test get report data of tasks per execution.
*
* @param int $executionID
* @access public
* @return array
*/
public function getDataOfTasksPerExecutionTest()
public function getDataOfTasksPerExecutionTest($executionID)
{
global $tester;
$tester->session->set('taskQueryCondition', "execution = '{$executionID}' AND status IN ('','wait','doing','done','pause','cancel') AND deleted = '0'");
$object = $this->objectModel->getDataOfTasksPerExecution();
if(dao::isError())