From 251ae0c7263fe913e31e241e9d04f03bffd39f80 Mon Sep 17 00:00:00 2001 From: Alain Kermis Date: Thu, 28 Sep 2023 13:52:37 +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