parent
1bac526e0d
commit
8894df906b
|
@ -818,6 +818,9 @@ public class ApiDefinitionService {
|
|||
}
|
||||
|
||||
private void importCase(ApiDefinitionWithBLOBs apiDefinition, ApiTestCaseMapper apiTestCaseMapper, List<ApiTestCaseWithBLOBs> caseList) {
|
||||
if (caseList == null || caseList.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
for (ApiTestCaseWithBLOBs apiTestCaseWithBLOBs : caseList) {
|
||||
apiTestCaseWithBLOBs.setApiDefinitionId(apiDefinition.getId());
|
||||
apiTestCaseWithBLOBs.setVersionId(apiDefinition.getVersionId());
|
||||
|
|
Loading…
Reference in New Issue