summaryrefslogtreecommitdiffstats
path: root/tests/dummyresourcetest.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-26 15:05:41 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-26 15:05:41 +0200
commit80afd7070f2d8e57cab2fe55fef611623fdb75f0 (patch)
tree5ec29f1bfece2b4344d040db232f7c4c0f746b73 /tests/dummyresourcetest.cpp
parentb334872e612433aee1284561fa247127bcdeeaf8 (diff)
downloadsink-80afd7070f2d8e57cab2fe55fef611623fdb75f0.tar.gz
sink-80afd7070f2d8e57cab2fe55fef611623fdb75f0.zip
Make sure we initialize the environment correctly and only set the db version when creating it
Diffstat (limited to 'tests/dummyresourcetest.cpp')
-rw-r--r--tests/dummyresourcetest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dummyresourcetest.cpp b/tests/dummyresourcetest.cpp
index 6f307e6..08138b3 100644
--- a/tests/dummyresourcetest.cpp
+++ b/tests/dummyresourcetest.cpp
@@ -244,7 +244,7 @@ private slots:
244 event.setProperty("uid", "testuid"); 244 event.setProperty("uid", "testuid");
245 QCOMPARE(event.getProperty("uid").toByteArray(), QByteArray("testuid")); 245 QCOMPARE(event.getProperty("uid").toByteArray(), QByteArray("testuid"));
246 event.setProperty("summary", "summaryValue"); 246 event.setProperty("summary", "summaryValue");
247 Sink::Store::create<Event>(event).exec().waitForFinished(); 247 VERIFYEXEC(Sink::Store::create<Event>(event));
248 248
249 // Test create 249 // Test create
250 Event event2; 250 Event event2;