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