diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-21 12:05:09 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-21 12:11:45 +0200 |
commit | af0f69d6c267d231d01b69525b91add8309e43e0 (patch) | |
tree | d0807066f3bb230daf1877504326e9666f4a7c46 /tests/clientapitest.cpp | |
parent | 98a057260f51b8af2cf3f933119e08590cc0639b (diff) | |
download | sink-af0f69d6c267d231d01b69525b91add8309e43e0.tar.gz sink-af0f69d6c267d231d01b69525b91add8309e43e0.zip |
ClientAPI: Don't require an explicit instance identifier
Diffstat (limited to 'tests/clientapitest.cpp')
-rw-r--r-- | tests/clientapitest.cpp | 5 |
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"; |