summaryrefslogtreecommitdiffstats
path: root/tests/clientapitest.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-10 00:38:43 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-10 00:38:43 +0200
commit3b928327401547fe32e5b60d47fa772c0d12280d (patch)
tree910a2c065c20ff6d3d9de744dab9dfe56a27af4a /tests/clientapitest.cpp
parenta8263a28f5d3a74581e289289d0807e6b656104b (diff)
downloadsink-3b928327401547fe32e5b60d47fa772c0d12280d.tar.gz
sink-3b928327401547fe32e5b60d47fa772c0d12280d.zip
Adapt tests to exposed jobs in api
Diffstat (limited to 'tests/clientapitest.cpp')
-rw-r--r--tests/clientapitest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/clientapitest.cpp b/tests/clientapitest.cpp
index 27139c2..03cc732 100644
--- a/tests/clientapitest.cpp
+++ b/tests/clientapitest.cpp
@@ -95,7 +95,7 @@ private Q_SLOTS:
95 res.setProperty("identifier", "dummyresource.identifier1"); 95 res.setProperty("identifier", "dummyresource.identifier1");
96 res.setProperty("type", "dummyresource"); 96 res.setProperty("type", "dummyresource");
97 97
98 Akonadi2::Store::create(res, "resourceconfig"); 98 Akonadi2::Store::create(res, "resourceconfig").exec().waitForFinished();
99 99
100 { 100 {
101 Akonadi2::Query query; 101 Akonadi2::Query query;
@@ -106,7 +106,7 @@ private Q_SLOTS:
106 QCOMPARE(result.size(), 1); 106 QCOMPARE(result.size(), 1);
107 } 107 }
108 108
109 Akonadi2::Store::remove(res, "resourceconfig"); 109 Akonadi2::Store::remove(res, "resourceconfig").exec().waitForFinished();
110 { 110 {
111 Akonadi2::Query query; 111 Akonadi2::Query query;
112 query.resources << "resourceconfig"; 112 query.resources << "resourceconfig";