mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-27 20:49:34 +00:00
Fix wrong reference in cast operation
Closes gh-13288
This commit is contained in:
committed by
Stephane Nicoll
parent
c2315f2e8c
commit
17bcd1c359
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user