Commit 831f1da7 authored by mardy's avatar mardy

Tests, QContactManager: cleanup self constituent at end of test

This contact is not normally returned by the QContactManager::contacts()
method, so it's not being delated by our newly added cleanup() method.
parent e41cf81d
......@@ -4692,6 +4692,9 @@ void tst_QContactManager::constituentOfSelf()
// Verify that the new contact was not aggregated into the self contact
newContact = m->contact(retrievalId(newContact));
QVERIFY(!relatedContactIds(newContact.relatedContacts()).contains(m->selfContactId()));
// Cleanup
QVERIFY(m->removeContact(constituent.id()));
}
void tst_QContactManager::searchSensitivity()
......
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