Align with changes in latest Integration snapshots

See gh-22729
pull/22839/head
Andy Wilkinson 4 years ago
parent 7e159c346e
commit 4933b2688f

@ -118,7 +118,7 @@ public class IntegrationAutoConfiguration {
protected static class IntegrationManagementConfiguration {
@Configuration(proxyBeanMethods = false)
@EnableIntegrationManagement(defaultCountsEnabled = "true")
@EnableIntegrationManagement
protected static class EnableIntegrationManagementConfiguration {
}

@ -194,14 +194,6 @@ class IntegrationAutoConfigurationTests {
});
}
@Test
void integrationEnablesDefaultCounts() {
this.contextRunner.withUserConfiguration(MessageSourceConfiguration.class).run((context) -> {
assertThat(context).hasBean("myMessageSource");
assertThat(((MessageProcessorMessageSource) context.getBean("myMessageSource")).isCountsEnabled()).isTrue();
});
}
@Test
void rsocketSupportEnabled() {
this.contextRunner.withUserConfiguration(RSocketServerConfiguration.class)

Loading…
Cancel
Save