Polish SecurityContextChannelInterceptorTests

Issue gh-10973
This commit is contained in:
Josh Cummings 2022-03-24 12:52:25 -06:00
parent be434e1540
commit cad2972d0a
No known key found for this signature in database
GPG Key ID: A306A51F43B8E5A5

View File

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