diff options
Diffstat (limited to 'tests/resourceconfigtest.cpp')
-rw-r--r-- | tests/resourceconfigtest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/resourceconfigtest.cpp b/tests/resourceconfigtest.cpp index df98a61..78a0d4c 100644 --- a/tests/resourceconfigtest.cpp +++ b/tests/resourceconfigtest.cpp | |||
@@ -91,7 +91,7 @@ private slots: | |||
91 | auto model = Sink::Store::loadModel<SinkResource>(query); | 91 | auto model = Sink::Store::loadModel<SinkResource>(query); |
92 | QTRY_COMPARE(model->rowCount(QModelIndex()), 1); | 92 | QTRY_COMPARE(model->rowCount(QModelIndex()), 1); |
93 | auto resource = model->data(model->index(0, 0, QModelIndex()), Sink::Store::DomainObjectRole).value<SinkResource::Ptr>(); | 93 | auto resource = model->data(model->index(0, 0, QModelIndex()), Sink::Store::DomainObjectRole).value<SinkResource::Ptr>(); |
94 | QCOMPARE(resource->getStatus(), static_cast<int>(OfflineStatus)); | 94 | QCOMPARE(resource->getStatus(), static_cast<int>(NoStatus)); |
95 | 95 | ||
96 | //Synchronize to connect | 96 | //Synchronize to connect |
97 | VERIFYEXEC(Sink::Store::synchronize(query)); | 97 | VERIFYEXEC(Sink::Store::synchronize(query)); |