Skip to content

Commit

Permalink
Align with changes in latest Integration snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed Aug 7, 2020
1 parent 7e159c3 commit 4933b26
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Expand Up @@ -118,7 +118,7 @@ public IntegrationMBeanExporter integrationMbeanExporter(BeanFactory beanFactory
protected static class IntegrationManagementConfiguration {

@Configuration(proxyBeanMethods = false)
@EnableIntegrationManagement(defaultCountsEnabled = "true")
@EnableIntegrationManagement
protected static class EnableIntegrationManagementConfiguration {

}
Expand Down
Expand Up @@ -194,14 +194,6 @@ void integrationJdbcDataSourceInitializerEnabledByDefaultWithEmbeddedDb() {
});
}

@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)
Expand Down

0 comments on commit 4933b26

Please sign in to comment.