fix(接口测试): 测试计划用例批量执行,任务类型有误
This commit is contained in:
parent
85e1801eeb
commit
e8cb35fd1a
|
@ -311,7 +311,7 @@ public class TestPlanApiCaseBatchRunService {
|
|||
execTask.setTaskName(Translator.get("api_batch_task_name"));
|
||||
execTask.setOrganizationId(project.getOrganizationId());
|
||||
execTask.setTriggerMode(TaskTriggerMode.BATCH.name());
|
||||
execTask.setTaskType(ExecTaskType.TEST_PLAN_API_CASE.name());
|
||||
execTask.setTaskType(ExecTaskType.TEST_PLAN_API_CASE_BATCH.name());
|
||||
baseTaskHubService.insertExecTask(execTask);
|
||||
return execTask;
|
||||
}
|
||||
|
|
|
@ -311,7 +311,7 @@ public class TestPlanApiScenarioBatchRunService {
|
|||
execTask.setTaskName(Translator.get("api_scenario_batch_task_name"));
|
||||
execTask.setOrganizationId(project.getOrganizationId());
|
||||
execTask.setTriggerMode(TaskTriggerMode.BATCH.name());
|
||||
execTask.setTaskType(ExecTaskType.TEST_PLAN_API_SCENARIO.name());
|
||||
execTask.setTaskType(ExecTaskType.TEST_PLAN_API_SCENARIO_BATCH.name());
|
||||
baseTaskHubService.insertExecTask(execTask);
|
||||
return execTask;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue