From: Alain Kermis Date: Thu, 28 Sep 2023 11:52:37 +0000 (+0200) Subject: SONAR-20591 Fix notification daemon test X-Git-Tag: 9.9.3.79811~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=251ae0c7263fe913e31e241e9d04f03bffd39f80;p=sonarqube.git SONAR-20591 Fix notification daemon test --- diff --git a/server/sonar-webserver-core/src/test/java/org/sonar/server/notification/NotificationDaemonTest.java b/server/sonar-webserver-core/src/test/java/org/sonar/server/notification/NotificationDaemonTest.java index e822f863eb9..30510ff5c10 100644 --- a/server/sonar-webserver-core/src/test/java/org/sonar/server/notification/NotificationDaemonTest.java +++ b/server/sonar-webserver-core/src/test/java/org/sonar/server/notification/NotificationDaemonTest.java @@ -94,7 +94,7 @@ public class NotificationDaemonTest { .thenReturn(null); underTest.start(); - verify(notificationService, timeout(2000)).deliver(notification1); + verify(notificationService, timeout(2000)).deliver(notification4); inOrder.verify(notificationService).deliverEmails(singleton(notification1)); inOrder.verify(notificationService).deliver(notification1);