mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-29 18:48:13 +08:00
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
Block a user