From 720d4d2700806651a96edf400e220d0f4630fac7 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 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 -- 2.39.5