From 965b4c0aef3b099f0f1df428fc3d0e648f5fac0d Mon Sep 17 00:00:00 2001 From: "everywhere.z" Date: Wed, 13 Jul 2022 21:59:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=B5=8B=E8=AF=95=E7=94=A8?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../liteflow/test/switchError/SwitchELSpringbootTest.java | 4 ++-- .../src/test/resources/switchError/flow.el.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/liteflow-testcase-el/liteflow-testcase-el-springboot/src/test/java/com/yomahub/liteflow/test/switchError/SwitchELSpringbootTest.java b/liteflow-testcase-el/liteflow-testcase-el-springboot/src/test/java/com/yomahub/liteflow/test/switchError/SwitchELSpringbootTest.java index 2dac75425..c4812e85d 100644 --- a/liteflow-testcase-el/liteflow-testcase-el-springboot/src/test/java/com/yomahub/liteflow/test/switchError/SwitchELSpringbootTest.java +++ b/liteflow-testcase-el/liteflow-testcase-el-springboot/src/test/java/com/yomahub/liteflow/test/switchError/SwitchELSpringbootTest.java @@ -32,8 +32,8 @@ public class SwitchELSpringbootTest extends BaseTest { //run QlExpress Exception at line 1 : // switch().to(): 只有一个node时出错 @Test - public void testBase1() throws Exception{ - LiteflowResponse response = flowExecutor.execute2Resp("testBase1", "arg"); + public void testSwitchError() throws Exception{ + LiteflowResponse response = flowExecutor.execute2Resp("chain1", "arg"); Assert.assertTrue(response.isSuccess()); } } diff --git a/liteflow-testcase-el/liteflow-testcase-el-springboot/src/test/resources/switchError/flow.el.xml b/liteflow-testcase-el/liteflow-testcase-el-springboot/src/test/resources/switchError/flow.el.xml index 1f580a368..2f7e92bc2 100644 --- a/liteflow-testcase-el/liteflow-testcase-el-springboot/src/test/resources/switchError/flow.el.xml +++ b/liteflow-testcase-el/liteflow-testcase-el-springboot/src/test/resources/switchError/flow.el.xml @@ -1,9 +1,9 @@ - + THEN( a, - SWITCH(e).to(d) + SWITCH(e).to(d), b );