From: Steve Marion Date: Fri, 13 Oct 2023 09:33:42 +0000 (+0200) Subject: SONAR-20758 fix FP log pollution X-Git-Tag: 10.3.0.82913~196 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f770797718c5952131f344aeda00a2a03420f05d;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 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