summaryrefslogtreecommitdiffstats
path: root/tests/clientapitest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/clientapitest.cpp')
-rw-r--r--tests/clientapitest.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/clientapitest.cpp b/tests/clientapitest.cpp
index 03cc732..8779716 100644
--- a/tests/clientapitest.cpp
+++ b/tests/clientapitest.cpp
@@ -95,8 +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").exec().waitForFinished(); 98 Akonadi2::Store::create(res).exec().waitForFinished();
99
100 { 99 {
101 Akonadi2::Query query; 100 Akonadi2::Query query;
102 query.resources << "resourceconfig"; 101 query.resources << "resourceconfig";
@@ -106,7 +105,7 @@ private Q_SLOTS:
106 QCOMPARE(result.size(), 1); 105 QCOMPARE(result.size(), 1);
107 } 106 }
108 107
109 Akonadi2::Store::remove(res, "resourceconfig").exec().waitForFinished(); 108 Akonadi2::Store::remove(res).exec().waitForFinished();
110 { 109 {
111 Akonadi2::Query query; 110 Akonadi2::Query query;
112 query.resources << "resourceconfig"; 111 query.resources << "resourceconfig";