From e8cb35fd1ae1bdb34bedb0b9229b6662b7db9fda Mon Sep 17 00:00:00 2001 From: AgAngle <1323481023@qq.com> Date: Tue, 22 Oct 2024 14:03:27 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E7=94=A8=E4=BE=8B=E6=89=B9?= =?UTF-8?q?=E9=87=8F=E6=89=A7=E8=A1=8C=EF=BC=8C=E4=BB=BB=E5=8A=A1=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E6=9C=89=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plan/service/TestPlanApiCaseBatchRunService.java | 2 +- .../plan/service/TestPlanApiScenarioBatchRunService.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanApiCaseBatchRunService.java b/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanApiCaseBatchRunService.java index b8a18a5e17..e7decc416d 100644 --- a/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanApiCaseBatchRunService.java +++ b/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanApiCaseBatchRunService.java @@ -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; } diff --git a/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanApiScenarioBatchRunService.java b/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanApiScenarioBatchRunService.java index fd21f9a9dd..4301b40407 100644 --- a/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanApiScenarioBatchRunService.java +++ b/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanApiScenarioBatchRunService.java @@ -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; }