diff --git a/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java b/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java index 83a41b256b..ee883ccda8 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java +++ b/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java @@ -1354,6 +1354,7 @@ public class TestCaseService { testCase.setRefId(testCase.getId()); testCase.setVersionId(request.getVersionId()); testCase.setLatest(true); + testCase.setType("functional"); mapper.insert(testCase); nextOrder += ServiceUtils.ORDER_STEP; batchInsertCustomFieldTestCase(testCaseCustomFieldMap, customFieldTestCaseMapper, testCase);