mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 03:58:33 +08:00
fix(接口测试): 导入场景补充接口用例算法优化
This commit is contained in:
parent
ba00ddf70b
commit
e266fb1adb
@ -1024,7 +1024,6 @@ public class ApiScenarioDataTransferService {
|
||||
if (existenceApiCaseNumMap.containsKey(apiTestCaseDTO.getNum())) {
|
||||
returnResource.putApiTestCase(apiTestCaseDTO.getId(), existenceApiCaseNumMap.get(apiTestCaseDTO.getNum()));
|
||||
} else {
|
||||
apiTestCaseDTO.setProjectId(targetProjectId);
|
||||
returnResource.putApiTestCase(apiTestCaseDTO.getId(), apiTestCaseDTO);
|
||||
apiTestCaseDTO.setId(IDGenerator.nextStr());
|
||||
apiTestCaseDTO.setName(apiTestCaseDTO.getName() + "_" + System.currentTimeMillis());
|
||||
|
Loading…
Reference in New Issue
Block a user