]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-20591 Fix notification daemon test
authorAlain Kermis <alain.kermis@sonarsource.com>
Thu, 28 Sep 2023 11:54:54 +0000 (13:54 +0200)
committersonartech <sonartech@sonarsource.com>
Thu, 28 Sep 2023 20:03:13 +0000 (20:03 +0000)
server/sonar-webserver-core/src/test/java/org/sonar/server/notification/NotificationDaemonTest.java

index e822f863eb9ce77d365d0b8e35a0513ee82d3208..30510ff5c10ece23cb1067c8b063295d3ccd5fa8 100644 (file)
@@ -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);