From db6ca247dd7f563f7e702f8701fb125e154fd012 Mon Sep 17 00:00:00 2001 From: liugang Date: Fri, 3 Oct 2025 11:09:54 +0800 Subject: [PATCH] * [misc] Fix unit tests for actionModel::buildDateGroup() method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- module/action/test/model/builddategroup.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/module/action/test/model/builddategroup.php b/module/action/test/model/builddategroup.php index 8a9066beb0..ed5c4af70c 100755 --- a/module/action/test/model/builddategroup.php +++ b/module/action/test/model/builddategroup.php @@ -7,11 +7,11 @@ title=测试 actionModel::buildDateGroup(); timeout=0 cid=14878 -- 执行actionTest模块的buildDateGroupTest方法,参数是$emptyActions 属性dateCount @0 -- 执行actionTest模块的buildDateGroupTest方法,参数是$singleAction 属性dateCount @1 -- 执行actionTest模块的buildDateGroupTest方法,参数是$multiDatesActions 属性dateCount @2 -- 执行actionTest模块的buildDateGroupTest方法,参数是$sameDateActions 属性dateCount @1 -- 执行actionTest模块的buildDateGroupTest方法,参数是$multiDatesActions, 'next', 'date_asc' 属性dateCount @2 +- 测试步骤1:空数组输入情况 >> 期望返回0个日期分组 +- 测试步骤2:单条记录输入情况 >> 期望返回1个日期分组 +- 测试步骤3:不同日期多条记录情况 >> 期望返回2个日期分组 +- 测试步骤4:相同日期多条记录情况 >> 期望返回1个日期分组 +- 测试步骤5:指定排序参数情况 >> 期望返回2个日期分组 */