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