fix(接口测试): 修复场景导入提示成功,实际没有导入进来的缺陷
--bug=1027267 --user=王孝刚 【接口测试】场景导入-提示成功-实际没导入进来 https://www.tapd.cn/55049933/s/1384520
This commit is contained in:
parent
317c31f36d
commit
92a1ecb6bd
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue