fix: 场景测试消息
This commit is contained in:
parent
cb6a4cb285
commit
d9bff9324b
|
@ -191,8 +191,10 @@ public class ApiScenarioReportService {
|
|||
startTime = scenarioResult.getRequestResults().get(0).getStartTime();
|
||||
}
|
||||
ApiScenarioReport report = editReport(scenarioResult, startTime);
|
||||
report.setTriggerMode(ReportTriggerMode.CASE.name());
|
||||
apiScenarioReportMapper.updateByPrimaryKeySelective(report);
|
||||
if (!StringUtils.equals(ReportTriggerMode.API.name(), report.getTriggerMode())) {
|
||||
report.setTriggerMode(ReportTriggerMode.CASE.name());
|
||||
apiScenarioReportMapper.updateByPrimaryKeySelective(report);
|
||||
}
|
||||
|
||||
// 报告详情内容
|
||||
ApiScenarioReportDetail detail = new ApiScenarioReportDetail();
|
||||
|
|
Loading…
Reference in New Issue