From ba16fd400dfd3468e90b9fe2683a4d9606fc99ee Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sun, 19 Jun 2016 12:38:46 +0200 Subject: Use shared preprocessors in mailtransport. --- examples/mailtransportresource/tests/mailtransporttest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/mailtransportresource/tests') diff --git a/examples/mailtransportresource/tests/mailtransporttest.cpp b/examples/mailtransportresource/tests/mailtransporttest.cpp index f1190a7..3ce5f82 100644 --- a/examples/mailtransportresource/tests/mailtransporttest.cpp +++ b/examples/mailtransportresource/tests/mailtransporttest.cpp @@ -65,9 +65,9 @@ private slots: VERIFYEXEC(Store::synchronize(Query::ResourceFilter(mResourceInstanceIdentifier))); VERIFYEXEC(ResourceControl::inspect(ResourceControl::Inspection::ExistenceInspection(mail, true))); - auto sentMail = Store::readOne(Query::IdentityFilter(mail).request()); + auto sentMail = Store::readOne(Query::IdentityFilter(mail).request().request()); QVERIFY(sentMail.getSent()); - + QVERIFY(!sentMail.getSubject().isEmpty()); } //TODO test mail that fails to be sent. add a special header to the mail and have the resource fail sending. Ensure we can modify the mail to fix sending of the message. -- cgit v1.2.3