From 859f30d21532644c3b90e79f6686aa7375046087 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 12 Jan 2017 12:54:14 +0100 Subject: syncThen is no longer necessary. --- accounts/imap/tests/settingstest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'accounts/imap/tests') diff --git a/accounts/imap/tests/settingstest.cpp b/accounts/imap/tests/settingstest.cpp index 2fbc9b7b..69d93079 100644 --- a/accounts/imap/tests/settingstest.cpp +++ b/accounts/imap/tests/settingstest.cpp @@ -43,7 +43,7 @@ private slots: settings.setProperty("emailAddress", emailAddress); settings.save(); - Sink::Store::fetchAll(Sink::Query()).syncThen>([](const QList &resources) { + Sink::Store::fetchAll(Sink::Query()).then([](const QList &resources) { QCOMPARE(resources.size(), 2); }) .exec().waitForFinished(); @@ -76,7 +76,7 @@ private slots: settings.remove(); } - Sink::Store::fetchAll(Sink::Query()).syncThen>([](const QList &resources) { + Sink::Store::fetchAll(Sink::Query()).then([](const QList &resources) { QCOMPARE(resources.size(), 0); }) .exec().waitForFinished(); -- cgit v1.2.3