mirror of
https://github.com/spring-projects/spring-security.git
synced 2026-05-02 19:30:50 +01:00
Polish SecurityContextChannelInterceptorTests
Issue gh-10973
This commit is contained in:
+1
@@ -69,6 +69,7 @@ public class SecurityContextChannelInterceptorTests {
|
||||
|
||||
@AfterEach
|
||||
public void cleanup() {
|
||||
this.interceptor.afterMessageHandled(this.messageBuilder.build(), this.channel, this.handler, null);
|
||||
SecurityContextHolder.clearContext();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user