From 49a3bb3edea46db5528aae40129112a8ad8cf3c1 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Thu, 5 Jun 2025 13:11:10 +0800 Subject: [PATCH] * [unittest] add unittest results for personnelModel::getAccessiblePersonnel. --- .../personnel/test/model/getaccessiblepersonnel.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/module/personnel/test/model/getaccessiblepersonnel.php b/module/personnel/test/model/getaccessiblepersonnel.php index c4714f2a8f..5ab814649a 100755 --- a/module/personnel/test/model/getaccessiblepersonnel.php +++ b/module/personnel/test/model/getaccessiblepersonnel.php @@ -15,7 +15,18 @@ su('admin'); title=测试 personnelModel->getAccessiblePersonnel(); cid=1 -pid=1 + +- 测试programID为1,部门ID为0,浏览类型为all,查询ID为0的结果集的数量 @50 +- 测试programID为1,部门ID为0,浏览类型为all,查询ID为0的结果集内id为50的account第50条的account属性 @user49 +- 测试programID为1,部门ID为1,浏览类型为all,查询ID为0的结果集的数量 @9 +- 测试programID为1,部门ID为1,浏览类型为all,查询ID为0的结果集内id为9的account第9条的account属性 @user8 +- 测试programID为1,部门ID为2,浏览类型为all,查询ID为0的结果集的数量 @10 +- 测试programID为1,部门ID为2,浏览类型为all,查询ID为0的结果集内id为19的account第19条的account属性 @user18 +- 测试programID为2,部门ID为0,浏览类型为all,查询ID为0的结果集的数量 @0 +- 测试programID为1,部门ID为0,浏览类型为bysearch,查询ID为0的结果集的数量 @1 +- 测试programID为1,部门ID为0,浏览类型为bysearch,查询ID为0的结果集内id为2的account第2条的account属性 @user1 +- 测试programID为1,部门ID为0,浏览类型为bysearch,查询ID为1的结果集的数量 @1 +- 测试programID为1,部门ID为0,浏览类型为bysearch,查询ID为1的结果集内id为2的account第11条的account属性 @user10 */