Fix broken test

This commit is contained in:
Sam Brannen 2019-03-03 23:08:44 +01:00
parent e7bd305e87
commit 0ca5afd8e4
1 changed files with 1 additions and 5 deletions

View File

@ -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();
}
}
}