summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-27 16:00:50 -0600
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-27 16:00:50 -0600
commit5275b0f173579162176e2340cbb9eaedafe8334a (patch)
treebc0d47d4609c39950a44f0346f6231500b9bc1b0 /tests
parent4333b8fe03d50ae9cfd5dfb5c656cc48302dc072 (diff)
downloadsink-5275b0f173579162176e2340cbb9eaedafe8334a.tar.gz
sink-5275b0f173579162176e2340cbb9eaedafe8334a.zip
Adjusted docs and test.
Diffstat (limited to 'tests')
-rw-r--r--tests/clientapitest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/clientapitest.cpp b/tests/clientapitest.cpp
index 3955ebd..7e348c2 100644
--- a/tests/clientapitest.cpp
+++ b/tests/clientapitest.cpp
@@ -360,6 +360,8 @@ private slots:
360 auto event = Sink::ApplicationDomain::Event::createEntity<Sink::ApplicationDomain::Event>("dummyresource.instance1"); 360 auto event = Sink::ApplicationDomain::Event::createEntity<Sink::ApplicationDomain::Event>("dummyresource.instance1");
361 Sink::Store::create(event).exec().waitForFinished(); 361 Sink::Store::create(event).exec().waitForFinished();
362 QCOMPARE(facade->creations.size(), 1); 362 QCOMPARE(facade->creations.size(), 1);
363 //Modify something so the mdofication won't be dropped
364 event.setSummary("foobar");
363 Sink::Store::modify(event).exec().waitForFinished(); 365 Sink::Store::modify(event).exec().waitForFinished();
364 QCOMPARE(facade->modifications.size(), 1); 366 QCOMPARE(facade->modifications.size(), 1);
365 Sink::Store::remove(event).exec().waitForFinished(); 367 Sink::Store::remove(event).exec().waitForFinished();