summaryrefslogtreecommitdiffstats
path: root/tests/maildirresourcetest.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-19 14:07:17 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-19 14:07:17 +0100
commit1812c077d6461b3e9fb865f47cffafc3c179e136 (patch)
tree3f10a86e1867576d8987d25f489c27b49875aa35 /tests/maildirresourcetest.cpp
parentd5b28efe4d7fc2a984243417d923ff5727234e94 (diff)
downloadsink-1812c077d6461b3e9fb865f47cffafc3c179e136.tar.gz
sink-1812c077d6461b3e9fb865f47cffafc3c179e136.zip
Disambiguate between what we want to flush
Even though the implementation is still exactly the same
Diffstat (limited to 'tests/maildirresourcetest.cpp')
-rw-r--r--tests/maildirresourcetest.cpp4
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>([](){});