summaryrefslogtreecommitdiffstats
path: root/tests/accountstest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/accountstest.cpp')
-rw-r--r--tests/accountstest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/accountstest.cpp b/tests/accountstest.cpp
index 8216210..88b13f3 100644
--- a/tests/accountstest.cpp
+++ b/tests/accountstest.cpp
@@ -99,7 +99,7 @@ private slots:
99 Store::create(account).exec().waitForFinished(); 99 Store::create(account).exec().waitForFinished();
100 100
101 Query query; 101 Query query;
102 query.liveQuery = true; 102 query.setFlags(Query::LiveQuery);
103 auto model = Store::loadModel<SinkAccount>(query); 103 auto model = Store::loadModel<SinkAccount>(query);
104 QTRY_COMPARE(model->rowCount(QModelIndex()), 1); 104 QTRY_COMPARE(model->rowCount(QModelIndex()), 1);
105 105
@@ -130,7 +130,7 @@ private slots:
130 VERIFYEXEC(Sink::Store::create(res)); 130 VERIFYEXEC(Sink::Store::create(res));
131 { 131 {
132 Sink::Query query; 132 Sink::Query query;
133 query.liveQuery = true; 133 query.setFlags(Query::LiveQuery);
134 query.request<Sink::ApplicationDomain::SinkAccount::Status>(); 134 query.request<Sink::ApplicationDomain::SinkAccount::Status>();
135 135
136 auto model = Sink::Store::loadModel<Sink::ApplicationDomain::SinkAccount>(query); 136 auto model = Sink::Store::loadModel<Sink::ApplicationDomain::SinkAccount>(query);