diff options
Diffstat (limited to 'tests/clientapitest.cpp')
-rw-r--r-- | tests/clientapitest.cpp | 4 |
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"; |