From 92a1ecb6bdfc5b794afce2b0dc8df3e49a5c241d Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Tue, 20 Jun 2023 20:20:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=BA=E6=99=AF=E5=AF=BC=E5=85=A5=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E6=88=90=E5=8A=9F=EF=BC=8C=E5=AE=9E=E9=99=85=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E5=AF=BC=E5=85=A5=E8=BF=9B=E6=9D=A5=E7=9A=84=E7=BC=BA?= =?UTF-8?q?=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1027267 --user=王孝刚 【接口测试】场景导入-提示成功-实际没导入进来 https://www.tapd.cn/55049933/s/1384520 --- .../service/scenario/ApiScenarioModuleService.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/api-test/backend/src/main/java/io/metersphere/service/scenario/ApiScenarioModuleService.java b/api-test/backend/src/main/java/io/metersphere/service/scenario/ApiScenarioModuleService.java index 8c76d02203..73024c0689 100644 --- a/api-test/backend/src/main/java/io/metersphere/service/scenario/ApiScenarioModuleService.java +++ b/api-test/backend/src/main/java/io/metersphere/service/scenario/ApiScenarioModuleService.java @@ -528,12 +528,6 @@ public class ApiScenarioModuleService extends NodeTreeService new TreeSet<>(Comparator.comparing(t -> t.getName() + t.getModulePath()))), ArrayList::new) ); - if (!fullCoverage) { - //不覆盖, 系统场景存在则不导入 - Map systemScenarios = repeatAllScenarioWithBLOBs.stream().collect(Collectors.toMap(ApiScenario::getName, scenario -> scenario)); - optionData.removeIf(handleData -> systemScenarios.containsKey(handleData.getName())); - } - Map nameModuleMap = null; Map repeatDataMap = null; if (chooseModule != null) {