+ userTest: add script to test the fetchExecutionTaskCount method of userTao.

This commit is contained in:
liugang
2023-12-25 15:00:25 +08:00
parent ba930627bd
commit 77bf6fde71
2 changed files with 62 additions and 0 deletions
+14
View File
@@ -129,6 +129,20 @@ class userTest
return $this->objectTao->fetchExecutions($account, $status, $orderBy, $pager);
}
/**
* 测试获取某个用户参与的执行和执行中指派给他的任务数的键值对。
* Get the executions that the user joined and the task count of the execution.
*
* @param string $account
* @param array $executionIdList
* @access public
* @return
*/
public function fetchExecutionTaskCountTest(string $account, array $executionIdList): array
{
return $this->objectTao->fetchExecutionTaskCount($account, $executionIdList);
}
/**
* 根据用户名获取用户信息。
* Get user information by account.