From: Steve Marion Date: Fri, 13 Oct 2023 09:33:42 +0000 (+0200) Subject: SONAR-20758 fix FP log pollution X-Git-Tag: 9.9.3.79811~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=720d4d2700806651a96edf400e220d0f4630fac7;p=sonarqube.git SONAR-20758 fix FP log pollution --- 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 472b0ee4e97..081b9f1908e 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 @@ -53,7 +53,7 @@ public class TokenExpirationNotificationSenderTest { underTest.sendNotifications(); assertThat(logTester.getLogs(LoggerLevel.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