From f770797718c5952131f344aeda00a2a03420f05d Mon Sep 17 00:00:00 2001 From: Steve Marion Date: Fri, 13 Oct 2023 11:33:42 +0200 Subject: [PATCH] SONAR-20758 fix FP log pollution --- .../notification/TokenExpirationNotificationSenderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-webserver-auth/src/test/java/org/sonar/server/usertoken/notification/TokenExpirationNotificationSenderTest.java b/server/sonar-webserver-auth/src/test/java/org/sonar/server/usertoken/notification/TokenExpirationNotificationSenderTest.java index d145a8612f0..4079d37927b 100644 --- a/server/sonar-webserver-auth/src/test/java/org/sonar/server/usertoken/notification/TokenExpirationNotificationSenderTest.java +++ b/server/sonar-webserver-auth/src/test/java/org/sonar/server/usertoken/notification/TokenExpirationNotificationSenderTest.java @@ -54,7 +54,7 @@ public class TokenExpirationNotificationSenderTest { underTest.sendNotifications(); assertThat(logTester.getLogs(Level.DEBUG)) .extracting(LogAndArguments::getFormattedMsg) - .containsExactly("Emails for token expiration notification have not been sent because email settings are not configured."); + .contains("Emails for token expiration notification have not been sent because email settings are not configured."); } @Test -- 2.39.5