mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
补充测试用例
This commit is contained in:
@@ -12,7 +12,7 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
*/
|
||||
public class LiteflowExecutorInit implements InitializingBean {
|
||||
|
||||
private FlowExecutor flowExecutor;
|
||||
private final FlowExecutor flowExecutor;
|
||||
|
||||
public LiteflowExecutorInit(FlowExecutor flowExecutor) {
|
||||
this.flowExecutor = flowExecutor;
|
||||
|
||||
@@ -34,7 +34,9 @@ public class LiteflowMainAutoConfiguration {
|
||||
|
||||
@Bean
|
||||
public FlowExecutor flowExecutor(LiteflowConfig liteflowConfig) {
|
||||
return new FlowExecutor(liteflowConfig);
|
||||
FlowExecutor flowExecutor = new FlowExecutor();
|
||||
flowExecutor.setLiteflowConfig(liteflowConfig);
|
||||
return flowExecutor;
|
||||
}
|
||||
|
||||
@Bean
|
||||
|
||||
Reference in New Issue
Block a user