diff options
Diffstat (limited to 'tests/maildirresourcetest.cpp')
-rw-r--r-- | tests/maildirresourcetest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/maildirresourcetest.cpp b/tests/maildirresourcetest.cpp index 146489d..ec4f6a4 100644 --- a/tests/maildirresourcetest.cpp +++ b/tests/maildirresourcetest.cpp | |||
@@ -321,7 +321,7 @@ private Q_SLOTS: | |||
321 | auto mail = mails.first(); | 321 | auto mail = mails.first(); |
322 | 322 | ||
323 | return Store::remove(*mail) | 323 | return Store::remove(*mail) |
324 | .then(Store::flushMessageQueue(query.resources)) //The change needs to be replayed already | 324 | .then(Store::flushReplayQueue(query.resources)) //The change needs to be replayed already |
325 | .then(Resources::inspect<Mail>(Resources::Inspection::ExistenceInspection(*mail, false))); | 325 | .then(Resources::inspect<Mail>(Resources::Inspection::ExistenceInspection(*mail, false))); |
326 | }) | 326 | }) |
327 | .then<void>([](){}); | 327 | .then<void>([](){}); |
@@ -357,7 +357,7 @@ private Q_SLOTS: | |||
357 | mail->setProperty("unread", true); | 357 | mail->setProperty("unread", true); |
358 | auto inspectionCommand = Resources::Inspection::PropertyInspection(*mail, "unread", true); | 358 | auto inspectionCommand = Resources::Inspection::PropertyInspection(*mail, "unread", true); |
359 | return Store::modify(*mail) | 359 | return Store::modify(*mail) |
360 | .then<void>(Store::flushMessageQueue(query.resources)) //The change needs to be replayed already | 360 | .then<void>(Store::flushReplayQueue(query.resources)) //The change needs to be replayed already |
361 | .then(Resources::inspect<Mail>(inspectionCommand)); | 361 | .then(Resources::inspect<Mail>(inspectionCommand)); |
362 | }) | 362 | }) |
363 | .then<void>([](){}); | 363 | .then<void>([](){}); |