diff options
Diffstat (limited to 'tests/accountstest.cpp')
-rw-r--r-- | tests/accountstest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/accountstest.cpp b/tests/accountstest.cpp index 0ab18ef..cc67645 100644 --- a/tests/accountstest.cpp +++ b/tests/accountstest.cpp | |||
@@ -139,7 +139,7 @@ private slots: | |||
139 | auto model = Sink::Store::loadModel<Sink::ApplicationDomain::SinkAccount>(query); | 139 | auto model = Sink::Store::loadModel<Sink::ApplicationDomain::SinkAccount>(query); |
140 | QTRY_COMPARE(model->rowCount(QModelIndex()), 1); | 140 | QTRY_COMPARE(model->rowCount(QModelIndex()), 1); |
141 | auto account = model->data(model->index(0, 0, QModelIndex()), Sink::Store::DomainObjectRole).value<Sink::ApplicationDomain::SinkAccount::Ptr>(); | 141 | auto account = model->data(model->index(0, 0, QModelIndex()), Sink::Store::DomainObjectRole).value<Sink::ApplicationDomain::SinkAccount::Ptr>(); |
142 | QCOMPARE(account->getStatus(), static_cast<int>(Sink::ApplicationDomain::OfflineStatus)); | 142 | QCOMPARE(account->getStatus(), static_cast<int>(Sink::ApplicationDomain::NoStatus)); |
143 | 143 | ||
144 | //Synchronize to connect | 144 | //Synchronize to connect |
145 | VERIFYEXEC(Sink::Store::synchronize(Query().resourceFilter(res.identifier()))); | 145 | VERIFYEXEC(Sink::Store::synchronize(Query().resourceFilter(res.identifier()))); |