2
0
Эх сурвалжийг харах

Polish SecurityContextChannelInterceptorTests

Issue gh-10973
Josh Cummings 3 жил өмнө
parent
commit
0be2a03741

+ 1 - 0
messaging/src/test/java/org/springframework/security/messaging/context/SecurityContextChannelInterceptorTests.java

@@ -69,6 +69,7 @@ public class SecurityContextChannelInterceptorTests {
 
 
 	@AfterEach
 	@AfterEach
 	public void cleanup() {
 	public void cleanup() {
+		this.interceptor.afterMessageHandled(this.messageBuilder.build(), this.channel, this.handler, null);
 		SecurityContextHolder.clearContext();
 		SecurityContextHolder.clearContext();
 	}
 	}