Polish
See gh-12981
This commit is contained in:
committed by
Stephane Nicoll
parent
4d0fe5bbe6
commit
b45c5f1a27
@@ -58,10 +58,10 @@ public class IntegrationGraphEndpointAutoConfigurationTests {
|
||||
|
||||
@Test
|
||||
public void runWhenSpringIntegrationIsNotEnabledShouldNotHaveEndpointBean() {
|
||||
ApplicationContextRunner noSiRunner = new ApplicationContextRunner()
|
||||
ApplicationContextRunner noSpringIntegrationRunner = new ApplicationContextRunner()
|
||||
.withConfiguration(AutoConfigurations.of(
|
||||
IntegrationGraphEndpointAutoConfiguration.class));
|
||||
noSiRunner.run((context) -> {
|
||||
noSpringIntegrationRunner.run((context) -> {
|
||||
assertThat(context).doesNotHaveBean(IntegrationGraphEndpoint.class);
|
||||
assertThat(context).doesNotHaveBean(IntegrationGraphServer.class);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user