summaryrefslogtreecommitdiffstats
path: root/tests/mailtest.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-06-21 20:09:34 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-06-21 20:09:34 +0200
commita1c6a7844cf8c9111b841ba0819a6856321d3397 (patch)
tree3d4460976cbe5f73666d177053ab763012aa076a /tests/mailtest.cpp
parentb89fc2271b05fc2834c89a1549a6dc3e8fbe9255 (diff)
downloadsink-a1c6a7844cf8c9111b841ba0819a6856321d3397.tar.gz
sink-a1c6a7844cf8c9111b841ba0819a6856321d3397.zip
Fixed build
Diffstat (limited to 'tests/mailtest.cpp')
-rw-r--r--tests/mailtest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mailtest.cpp b/tests/mailtest.cpp
index c8df8af..541656f 100644
--- a/tests/mailtest.cpp
+++ b/tests/mailtest.cpp
@@ -351,7 +351,7 @@ void MailTest::testCreateDraft()
351 351
352 //Ensure we can also query by folder 352 //Ensure we can also query by folder
353 { 353 {
354 auto mails = Store::read<ApplicationDomain::Mail>(Query::Query().filter<Mail::Folder>(folderIdentifier)); 354 auto mails = Store::read<ApplicationDomain::Mail>(Query().filter<Mail::Folder>(folderIdentifier));
355 bool found = false; 355 bool found = false;
356 for (const auto m : mails) { 356 for (const auto m : mails) {
357 if (m.identifier() == mail.identifier()) { 357 if (m.identifier() == mail.identifier()) {