test(ai): 添加 erp-ai 集成测试 — 14 个测试覆盖 3 个 service
- PromptService: 创建/查询/列表筛选/激活版本切换/回滚/跨租户隔离/未找到错误 (7) - UsageService: 日志记录/概览/按类型聚合/跨租户隔离 (4) - AnalysisService: 完成分析/失败分析/缓存查找/列表筛选 (3) - 使用 MockProvider 替代真实 AI 调用
This commit is contained in:
@@ -44,3 +44,5 @@ mod health_dialysis_prescription_tests;
|
||||
mod health_follow_up_template_tests;
|
||||
#[path = "integration/health_daily_monitoring_tests.rs"]
|
||||
mod health_daily_monitoring_tests;
|
||||
#[path = "integration/ai_prompt_tests.rs"]
|
||||
mod ai_prompt_tests;
|
||||
|
||||
Reference in New Issue
Block a user