From 29632db3e6d31ca2468e710a3c83272a02738d6b Mon Sep 17 00:00:00 2001 From: Alain Kermis Date: Thu, 28 Sep 2023 11:41:57 +0200 Subject: [PATCH] SONAR-20591 Fix notification daemon test --- .../org/sonar/server/notification/NotificationDaemonTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5