fix(接口测试): 场景导入时环境取消源文件中的环境id
This commit is contained in:
parent
4f50e3a751
commit
6477bca961
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue