mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-30 11:08:38 +08:00
fix(接口测试): 接口自动化导入引用项目ID处理
--user=郭雨琦 接口自动化导入除引用类型外其余步骤的项目id改成当前项目ID
This commit is contained in:
parent
274fe5c7c0
commit
d2fb8760b1
@ -1982,10 +1982,13 @@ public class ApiAutomationService {
|
||||
ApiScenarioImportUtil.checkCase(i,object,versionId,projectId,apiTestCaseMapper,apiDefinitionMapper);
|
||||
} else {
|
||||
checkAutomation(object);
|
||||
object.put("projectId", projectId);
|
||||
}
|
||||
}else{
|
||||
object.put("referenced", "Copy");
|
||||
}
|
||||
}else{
|
||||
object.put("projectId", projectId);
|
||||
}
|
||||
JSONObject environmentMap = object.getJSONObject("environmentMap");
|
||||
if (environmentMap != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user