Merge branch '2.0.x'

pull/13288/merge
Stephane Nicoll 7 years ago
commit 52b80c77d8

@ -65,7 +65,7 @@ class WebTestClientContextCustomizer implements ContextCustomizer {
private void registerWebTestClient(ConfigurableApplicationContext context) {
ConfigurableListableBeanFactory beanFactory = context.getBeanFactory();
if (beanFactory instanceof BeanDefinitionRegistry) {
registerWebTestClient((BeanDefinitionRegistry) context);
registerWebTestClient((BeanDefinitionRegistry) beanFactory);
}
}

Loading…
Cancel
Save