fix(接口测试): 修复场景导入提示成功,实际没有导入进来的缺陷

--bug=1027267 --user=王孝刚 【接口测试】场景导入-提示成功-实际没导入进来
https://www.tapd.cn/55049933/s/1384520
This commit is contained in:
wxg0103 2023-06-20 20:20:26 +08:00 committed by 刘瑞斌
parent 317c31f36d
commit 92a1ecb6bd
1 changed files with 0 additions and 6 deletions

View File

@ -528,12 +528,6 @@ public class ApiScenarioModuleService extends NodeTreeService<ApiScenarioModuleD
Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(t -> t.getName() + t.getModulePath()))), ArrayList::new)
);
if (!fullCoverage) {
//不覆盖, 系统场景存在则不导入
Map<String, ApiScenarioWithBLOBs> systemScenarios = repeatAllScenarioWithBLOBs.stream().collect(Collectors.toMap(ApiScenario::getName, scenario -> scenario));
optionData.removeIf(handleData -> systemScenarios.containsKey(handleData.getName()));
}
Map<String, ApiScenarioWithBLOBs> nameModuleMap = null;
Map<String, ApiScenarioWithBLOBs> repeatDataMap = null;
if (chooseModule != null) {