Fix broken test
This commit is contained in:
parent
e7bd305e87
commit
0ca5afd8e4
|
|
@ -49,14 +49,10 @@ public class ThreadPoolExecutorFactoryBeanTests {
|
|||
public static class ExecutorConfig {
|
||||
|
||||
@Bean
|
||||
public ThreadPoolExecutorFactoryBean executorFactory() {
|
||||
public ThreadPoolExecutorFactoryBean executor() {
|
||||
return new ThreadPoolExecutorFactoryBean();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public ExecutorService executor() {
|
||||
return executorFactory().getObject();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue