fix(接口测试): 用例批量执行没有设置集合报告信息

This commit is contained in:
AgAngle 2024-10-22 14:30:00 +08:00 committed by jianxing
parent e7ea9f975e
commit 24ae326c9b
2 changed files with 2 additions and 0 deletions

View File

@ -164,6 +164,7 @@ public class ApiTestCaseBatchRunService {
execTask.setOrganizationId(project.getOrganizationId()); execTask.setOrganizationId(project.getOrganizationId());
execTask.setTriggerMode(TaskTriggerMode.BATCH.name()); execTask.setTriggerMode(TaskTriggerMode.BATCH.name());
execTask.setTaskType(ExecTaskType.API_CASE_BATCH.name()); execTask.setTaskType(ExecTaskType.API_CASE_BATCH.name());
execTask.setIntegrated(runModeConfig.getIntegratedReport());
baseTaskHubService.insertExecTask(execTask); baseTaskHubService.insertExecTask(execTask);
return execTask; return execTask;
} }

View File

@ -248,6 +248,7 @@ public class ApiScenarioBatchRunService {
execTask.setOrganizationId(project.getOrganizationId()); execTask.setOrganizationId(project.getOrganizationId());
execTask.setTriggerMode(TaskTriggerMode.BATCH.name()); execTask.setTriggerMode(TaskTriggerMode.BATCH.name());
execTask.setTaskType(ExecTaskType.API_SCENARIO_BATCH.name()); execTask.setTaskType(ExecTaskType.API_SCENARIO_BATCH.name());
execTask.setIntegrated(runModeConfig.isIntegratedReport());
baseTaskHubService.insertExecTask(execTask); baseTaskHubService.insertExecTask(execTask);
return execTask; return execTask;
} }