fix(测试计划): 修复测试计划发送通知时错误状态和误报状态没有统计数的问题

--bug=1021840 --user=刘瑞斌 【测试计划】测试计划定时任务通知,场景数量统计错误 https://www.tapd.cn/55049933/s/1325941
This commit is contained in:
CaptainB 2023-01-11 12:16:52 +08:00 committed by 刘瑞斌
parent cab2ca1314
commit fcba6fd0df
1 changed files with 3 additions and 0 deletions

View File

@ -298,6 +298,7 @@ public class TestPlanMessageService {
result.put("apiCaseUnExecuteCount", v);
break;
case "errorreportresult":
case "fakeerror":
result.put("apiCaseErrorReportCount", v);
break;
default:
@ -318,12 +319,14 @@ public class TestPlanMessageService {
result.put("apiScenarioSuccessCount", v);
break;
case "fail":
case "error":
result.put("apiScenarioFailedCount", v);
break;
case "unexecute":
result.put("apiScenarioUnExecuteCount", v);
break;
case "errorreportresult":
case "fakeerror":
result.put("apiScenarioErrorReportCount", v);
break;
default: