fix(接口测试): 用例批量执行没有设置集合报告信息
This commit is contained in:
parent
e7ea9f975e
commit
24ae326c9b
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue