Commit 106e505d authored by mardy's avatar mardy

[qtcontacts-sqlite] Fix aggregation test. Contributes to MER#1853

If the database has been left dirty by some other test, this test will
fail. So, cleanup the DB before running this test.
parent e4113539
......@@ -155,6 +155,12 @@ tst_Aggregation::~tst_Aggregation()
void tst_Aggregation::initTestCase()
/* Make sure the DB is empty */
QContactDetailFilter allSyncTargets;
setFilterDetail<QContactSyncTarget>(allSyncTargets, QContactSyncTarget::FieldSyncTarget);
void tst_Aggregation::init()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment