Fix broken test
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user