From e470f65cad943f8a3065c6f5f6287adcc704627e Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 5 Oct 2016 00:09:30 +0200 Subject: Specify base set as part of the filter stages in the query. --- tests/querytest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/querytest.cpp b/tests/querytest.cpp index 6348316..db17026 100644 --- a/tests/querytest.cpp +++ b/tests/querytest.cpp @@ -164,8 +164,8 @@ private slots: // Test Sink::Query query; - query.resources << "sink.dummy.instance1"; - query.ids << id; + query.filter(SinkResource("sink.dummy.instance1")); + query.filter(id); auto model = Sink::Store::loadModel(query); QTRY_VERIFY(model->data(QModelIndex(), Sink::Store::ChildrenFetchedRole).toBool()); QCOMPARE(model->rowCount(), 1); -- cgit v1.2.3