diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/clientapitest.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/clientapitest.cpp b/tests/clientapitest.cpp index e7db0d0..5eb16da 100644 --- a/tests/clientapitest.cpp +++ b/tests/clientapitest.cpp | |||
@@ -190,6 +190,15 @@ private Q_SLOTS: | |||
190 | result.exec(); | 190 | result.exec(); |
191 | QCOMPARE(result.size(), 1); | 191 | QCOMPARE(result.size(), 1); |
192 | } | 192 | } |
193 | |||
194 | Akonadi2::Store::remove(res, "resourceconfig"); | ||
195 | { | ||
196 | Akonadi2::Query query; | ||
197 | query.resources << "resourceconfig"; | ||
198 | async::SyncListResult<Akonadi2::ApplicationDomain::AkonadiResource::Ptr> result(Akonadi2::Store::load<Akonadi2::ApplicationDomain::AkonadiResource>(query)); | ||
199 | result.exec(); | ||
200 | QCOMPARE(result.size(), 0); | ||
201 | } | ||
193 | } | 202 | } |
194 | 203 | ||
195 | }; | 204 | }; |