diff options
Diffstat (limited to 'tests/clientapitest.cpp')
-rw-r--r-- | tests/clientapitest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/clientapitest.cpp b/tests/clientapitest.cpp index 544b981..8fc76df 100644 --- a/tests/clientapitest.cpp +++ b/tests/clientapitest.cpp | |||
@@ -276,7 +276,7 @@ private slots: | |||
276 | 276 | ||
277 | bool gotValue = false; | 277 | bool gotValue = false; |
278 | auto result = Sink::Store::fetchOne<Sink::ApplicationDomain::Event>(query) | 278 | auto result = Sink::Store::fetchOne<Sink::ApplicationDomain::Event>(query) |
279 | .syncThen<void, Sink::ApplicationDomain::Event>([&gotValue](const Sink::ApplicationDomain::Event &event) { gotValue = true; }) | 279 | .then([&gotValue](const Sink::ApplicationDomain::Event &event) { gotValue = true; }) |
280 | .exec(); | 280 | .exec(); |
281 | result.waitForFinished(); | 281 | result.waitForFinished(); |
282 | QVERIFY(!result.errorCode()); | 282 | QVERIFY(!result.errorCode()); |