Skip to content

Commit 75769ba

Browse files
committed
Back to BEFORE_EACH for ImapMailReceiverTests
Looks like there are some leftovers after interactions with channel adapters from config
1 parent 33aaaba commit 75769ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-integration-mail/src/test/java/org/springframework/integration/mail/ImapMailReceiverTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
@SpringJUnitConfig
111111
@ContextConfiguration(
112112
"classpath:org/springframework/integration/mail/config/ImapIdleChannelAdapterParserTests-context.xml")
113-
@DirtiesContext
113+
@DirtiesContext(classMode = DirtiesContext.ClassMode.BEFORE_EACH_TEST_METHOD)
114114
public class ImapMailReceiverTests {
115115

116116
private static final ImapSearchLoggingHandler imapSearches = new ImapSearchLoggingHandler();

0 commit comments

Comments
 (0)