diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/teststore.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/teststore.cpp b/tests/teststore.cpp index 07310640..6dbe5622 100644 --- a/tests/teststore.cpp +++ b/tests/teststore.cpp | |||
@@ -91,6 +91,7 @@ static void createMail(const QVariantMap &object, const QByteArray &folder = {}) | |||
91 | 91 | ||
92 | auto mail = ApplicationDomainType::createEntity<Mail>(object["resource"].toByteArray()); | 92 | auto mail = ApplicationDomainType::createEntity<Mail>(object["resource"].toByteArray()); |
93 | mail.setMimeMessage(msg->encodedContent(true)); | 93 | mail.setMimeMessage(msg->encodedContent(true)); |
94 | mail.setUnread(object["unread"].toBool()); | ||
94 | if (!folder.isEmpty()) { | 95 | if (!folder.isEmpty()) { |
95 | mail.setFolder(folder); | 96 | mail.setFolder(folder); |
96 | } | 97 | } |