diff options
Diffstat (limited to 'framework/domain/actions/tests')
-rw-r--r-- | framework/domain/actions/tests/sinkactiontest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/domain/actions/tests/sinkactiontest.cpp b/framework/domain/actions/tests/sinkactiontest.cpp index 3e4567fd..3ba9ffb9 100644 --- a/framework/domain/actions/tests/sinkactiontest.cpp +++ b/framework/domain/actions/tests/sinkactiontest.cpp | |||
@@ -25,7 +25,7 @@ private slots: | |||
25 | void testSaveAsDraftFail() | 25 | void testSaveAsDraftFail() |
26 | { | 26 | { |
27 | Kube::Context context; | 27 | Kube::Context context; |
28 | auto future = Kube::Action("org.kde.kube.actions.save-as-draft", context).execute(); | 28 | auto future = Kube::Action("org.kde.kube.actions.save-as-draft", context).executeWithResult(); |
29 | 29 | ||
30 | QTRY_VERIFY(future.isDone()); | 30 | QTRY_VERIFY(future.isDone()); |
31 | //because of empty context | 31 | //because of empty context |
@@ -45,7 +45,7 @@ private slots: | |||
45 | Kube::Context context; | 45 | Kube::Context context; |
46 | context.setProperty("message", QVariant::fromValue(message)); | 46 | context.setProperty("message", QVariant::fromValue(message)); |
47 | context.setProperty("accountId", QVariant::fromValue(account.identifier)); | 47 | context.setProperty("accountId", QVariant::fromValue(account.identifier)); |
48 | auto future = Kube::Action("org.kde.kube.actions.save-as-draft", context).execute(); | 48 | auto future = Kube::Action("org.kde.kube.actions.save-as-draft", context).executeWithResult(); |
49 | 49 | ||
50 | QTRY_VERIFY(future.isDone()); | 50 | QTRY_VERIFY(future.isDone()); |
51 | QVERIFY(!future.error()); | 51 | QVERIFY(!future.error()); |