]> 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:55 +0000 (20:02 +0000)
server/sonar-webserver-auth/src/test/java/org/sonar/server/usertoken/notification/TokenExpirationNotificationSenderTest.java

index d145a8612f06cd052513c0257c05e526eb65a5e4..4079d37927b879a01ab1caddcf01977cc6a4831a 100644 (file)
@@ -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