From 7b3dd2b12a11f38543a873f8b335348439a05b86 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Mon, 8 Apr 2019 10:51:16 -0400 Subject: [PATCH] Fix EventInChAParserTests don't emit test events https://build.spring.io/browse/INT-MASTERSPRING40-668 --- .../event/config/EventInboundChannelAdapterParserTests.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spring-integration-event/src/test/java/org/springframework/integration/event/config/EventInboundChannelAdapterParserTests.java b/spring-integration-event/src/test/java/org/springframework/integration/event/config/EventInboundChannelAdapterParserTests.java index b72ac73fd4..42ae04a80f 100644 --- a/spring-integration-event/src/test/java/org/springframework/integration/event/config/EventInboundChannelAdapterParserTests.java +++ b/spring-integration-event/src/test/java/org/springframework/integration/event/config/EventInboundChannelAdapterParserTests.java @@ -40,7 +40,9 @@ import org.springframework.messaging.Message; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.PollableChannel; import org.springframework.test.context.ContextConfiguration; +import org.springframework.test.context.TestExecutionListeners; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; +import org.springframework.test.context.support.DependencyInjectionTestExecutionListener; /** * @author Oleg Zhurakousky @@ -48,10 +50,12 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; * @author Gary Russell * @author Gunnar Hillert * @author Artem Bilan + * * @since 2.0 */ @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration +@TestExecutionListeners(DependencyInjectionTestExecutionListener.class) public class EventInboundChannelAdapterParserTests { @Autowired