From 89aff52591628c86e5a7c2274b073b748b391c9e Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Sat, 22 May 2021 09:15:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A4=84=E7=90=86=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/metersphere/track/service/TestCaseService.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/src/main/java/io/metersphere/track/service/TestCaseService.java b/backend/src/main/java/io/metersphere/track/service/TestCaseService.java index e2eec2c61e..5c1056b331 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestCaseService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestCaseService.java @@ -625,7 +625,6 @@ public class TestCaseService { data.setNodePath(path.toString()); data.setPriority("P" + i % 4); String type = types.get(i % 3); - data.setType(type); // if (StringUtils.equals(TestCaseConstants.Type.Functional.getValue(), type)) { // data.setMethod(TestCaseConstants.Method.Manual.getValue()); // } else { @@ -695,7 +694,6 @@ public class TestCaseService { data.setName(t.getName()); data.setNodePath(t.getNodePath()); data.setPriority(t.getPriority()); - data.setType(t.getType()); data.setCustomNum(t.getCustomNum()); if (StringUtils.isBlank(t.getStepModel())) { data.setStepModel(TestCaseConstants.StepModel.STEP.name());