aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Kermis <alain.kermis@sonarsource.com>2023-09-28 13:52:37 +0200
committersonartech <sonartech@sonarsource.com>2023-09-28 20:02:47 +0000
commit251ae0c7263fe913e31e241e9d04f03bffd39f80 (patch)
tree03f109444e136418cf1e62fa0952d6bc3cc1daca
parent1dac34a098ade16d53bea8d72046f88b533d2ee2 (diff)
downloadsonarqube-251ae0c7263fe913e31e241e9d04f03bffd39f80.tar.gz
sonarqube-251ae0c7263fe913e31e241e9d04f03bffd39f80.zip
SONAR-20591 Fix notification daemon test
-rw-r--r--server/sonar-webserver-core/src/test/java/org/sonar/server/notification/NotificationDaemonTest.java2
1 files changed, 1 insertions, 1 deletions
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);