From 6477bca961b97b459c2a6078e37abb46bc244436 Mon Sep 17 00:00:00 2001 From: Jianguo-Genius Date: Wed, 20 Nov 2024 14:40:59 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E5=9C=BA=E6=99=AF=E5=AF=BC=E5=85=A5=E6=97=B6=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=BA=90=E6=96=87=E4=BB=B6=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E7=8E=AF=E5=A2=83id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/parser/api/dataimport/MetersphereParserApiScenario.java | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/parser/api/dataimport/MetersphereParserApiScenario.java b/backend/services/api-test/src/main/java/io/metersphere/api/parser/api/dataimport/MetersphereParserApiScenario.java index 1488ed54aa..1e2f5fa417 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/parser/api/dataimport/MetersphereParserApiScenario.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/parser/api/dataimport/MetersphereParserApiScenario.java @@ -84,6 +84,7 @@ public class MetersphereParserApiScenario implements ApiScenarioImportParser { apiScenarioImportDetail.setSteps(parseResult.getStepList()); apiScenarioImportDetail.setStepDetails(parseResult.getStepDetails()); apiScenarioImportDetail.setProjectId(projectId); + apiScenarioImportDetail.setEnvironmentId(null); apiScenarioImportDetail.setApiScenarioCsvList(apiScenarioCsvMap.getOrDefault(apiScenarioDetail.getId(), new ArrayList<>())); return apiScenarioImportDetail; }