aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vrátil <dvratil@kde.org>2016-08-15 20:50:47 (GMT)
committerDaniel Vrátil <dvratil@kde.org>2016-08-15 20:50:47 (GMT)
commitb2ea8721d40e44080c6fc32c33cd4056087869db (patch)
tree69db4352bf3221481cc5c1f49cc29d1d28d70948
parentf43ab1cfc55282d1b4bf38a6cc1d3dd896999afb (diff)
Fix NotificationManagerTest
-rw-r--r--autotests/server/notificationmanagertest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotests/server/notificationmanagertest.cpp b/autotests/server/notificationmanagertest.cpp
index a61689c..1b66c05 100644
--- a/autotests/server/notificationmanagertest.cpp
+++ b/autotests/server/notificationmanagertest.cpp
@@ -370,7 +370,7 @@ private Q_SLOTS:
subscriber.notify({ notification });
- QCOMPARE(subscriber.emittedNotifications.count(), accepted ? 1 : 0);
+ QTRY_COMPARE(subscriber.emittedNotifications.count(), accepted ? 1 : 0);
if (accepted) {
const Protocol::ChangeNotification ntf = subscriber.emittedNotifications.at(0);