parent
7841af50ef
commit
d720645275
|
|
@ -282,7 +282,7 @@ public class ConditionalOnMissingBeanTests {
|
||||||
OnBeanInParentsConfiguration.class);
|
OnBeanInParentsConfiguration.class);
|
||||||
child.setParent(this.context);
|
child.setParent(this.context);
|
||||||
child.refresh();
|
child.refresh();
|
||||||
assertThat(child.getBeansOfType(ExampleBean.class)).hasSize(1);
|
assertThat(child.getBeansOfType(ExampleBean.class)).hasSize(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue