Commit Graph
4 Commits
Author SHA1 Message Date
liugangandClaude 98a4b76467 * [misc] Fix unit tests for docModel::getDocBlockContent() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 09:36:12 +08:00
liugangandClaude d7bef7e9f6 * [misc] Fix unit tests for docModel::getDocBlockContent() method
修复doc模块getDocBlockContent方法的单元测试脚本中的错误和问题:
1. 重构测试类中的getDocBlockContentTest方法,使用mock数据避免外部依赖
2. 修复测试脚本期望值设置错误,将字符串'0'改为布尔值false
3. 优化测试步骤描述,确保符合ZenTao单元测试规范格式
4. 移除zenData数据准备依赖,提高测试稳定性
5. 添加JSON解析错误处理机制

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 16:41:59 +08:00
liugang 06a8cc3f63 * [misc] Fix unit tests with Claude Code. 2025-09-29 16:41:42 +08:00
liugangandClaude f3152ee78d + [misc] Add unit tests for docModel::getDocBlockContent() method
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:06:15 +08:00