summaryrefslogtreecommitdiffstats
path: root/tests/maildirresourcetest.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-10 15:46:37 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-10 15:46:37 +0100
commit06edec33607dac155dab2184adb425fa6057355d (patch)
tree82394cc1300c490fd679dfe1e262e77b83c74c0a /tests/maildirresourcetest.cpp
parentf6cbafd5db9d75bda4e45d4c2ffb60e9cd174d9b (diff)
downloadsink-06edec33607dac155dab2184adb425fa6057355d.tar.gz
sink-06edec33607dac155dab2184adb425fa6057355d.zip
Adapt to latest kasync version
Diffstat (limited to 'tests/maildirresourcetest.cpp')
-rw-r--r--tests/maildirresourcetest.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/maildirresourcetest.cpp b/tests/maildirresourcetest.cpp
index d47a3ac..28a1d44 100644
--- a/tests/maildirresourcetest.cpp
+++ b/tests/maildirresourcetest.cpp
@@ -329,7 +329,6 @@ private Q_SLOTS:
329 .then(ResourceControl::flushReplayQueue(query.resources)) //The change needs to be replayed already 329 .then(ResourceControl::flushReplayQueue(query.resources)) //The change needs to be replayed already
330 .then(ResourceControl::inspect<Mail>(ResourceControl::Inspection::ExistenceInspection(*mail, false))); 330 .then(ResourceControl::inspect<Mail>(ResourceControl::Inspection::ExistenceInspection(*mail, false)));
331 }); 331 });
332 // .then<void>([](){});
333 }) 332 })
334 .exec(); 333 .exec();
335 result.waitForFinished(); 334 result.waitForFinished();
@@ -366,8 +365,7 @@ private Q_SLOTS:
366 .then<void>(ResourceControl::flushReplayQueue(query.resources)) //The change needs to be replayed already 365 .then<void>(ResourceControl::flushReplayQueue(query.resources)) //The change needs to be replayed already
367 .then(ResourceControl::inspect<Mail>(ResourceControl::Inspection::PropertyInspection(*mail, "unread", true))) 366 .then(ResourceControl::inspect<Mail>(ResourceControl::Inspection::PropertyInspection(*mail, "unread", true)))
368 .then(ResourceControl::inspect<Mail>(ResourceControl::Inspection::PropertyInspection(*mail, "subject", mail->getProperty("subject")))); 367 .then(ResourceControl::inspect<Mail>(ResourceControl::Inspection::PropertyInspection(*mail, "subject", mail->getProperty("subject"))));
369 }) 368 });
370 .then<void>([](){});
371 }) 369 })
372 .exec(); 370 .exec();
373 result.waitForFinished(); 371 result.waitForFinished();