Commit 52b80c77 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge branch '2.0.x'

parents 3bbdeee7 9de2d1f8
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment