From d084fb13a3b511c2adc51b9ecef402c2ef3ce5a6 Mon Sep 17 00:00:00 2001 From: zhangdahai112 Date: Wed, 20 Jul 2022 18:39:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(UI=20=E8=87=AA=E5=8A=A8=E5=8C=96):=20UI?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E9=80=9A=E8=BF=87=E7=8E=87?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E9=94=99=E8=AF=AF=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/metersphere/track/service/TestPlanService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/track/service/TestPlanService.java b/backend/src/main/java/io/metersphere/track/service/TestPlanService.java index 0f87a58823..87003f408d 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestPlanService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestPlanService.java @@ -430,7 +430,7 @@ public class TestPlanService { uiScenarioExecResults.forEach(item -> { if (StringUtils.isNotBlank(item)) { testPlan.setTested(testPlan.getTested() + 1); - if (StringUtils.equals(item, "success")) { + if (StringUtils.equals(item, "Success")) { testPlan.setPassed(testPlan.getPassed() + 1); } }