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 );