]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-20758 fix FP log pollution
authorSteve Marion <steve.marion@sonarsource.com>
Fri, 13 Oct 2023 09:33:42 +0000 (11:33 +0200)
committersonartech <sonartech@sonarsource.com>
Fri, 13 Oct 2023 20:02:52 +0000 (20:02 +0000)
server/sonar-webserver-auth/src/test/java/org/sonar/server/usertoken/notification/TokenExpirationNotificationSenderTest.java

index 472b0ee4e97e160c1df22c9afbd0c814159ac1f9..081b9f1908e206f2d1dbe1ba23e2bca894de91e8 100644 (file)
@@ -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