* Change unit test for execution generateRow.

This commit is contained in:
caoyanyi
2023-09-11 15:09:16 +08:00
parent 6175ba0d1e
commit 35c2c1ef7c
3 changed files with 43 additions and 19 deletions
+12
View File
@@ -3070,4 +3070,16 @@ class executionTest
return $this->executionModel->dao->select('*')->from(TABLE_TASK)->where('story')->eq($storyID)->andWhere('execution')->eq($executionID)->fetchAll();
}
}
/**
* Test generateRow method.
*
* @access public
* @return array
*/
public function generateRowTest()
{
$executions = $this->executionModel->getStatData();
return $this->executionModel->generateRow($executions, array(), array());
}
}