summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/mime/tests/mailtemplatetest.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-02 17:06:20 -0600
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-02 17:06:20 -0600
commit28f66010b29bb9ec3def398f6e10b14af5bdaa02 (patch)
treee1e18926e11a9bf7fa72a4498c745b616a812f1d /framework/src/domain/mime/tests/mailtemplatetest.cpp
parentdd5b2a520f44df65fd88cf8c4040905054adaee1 (diff)
downloadkube-28f66010b29bb9ec3def398f6e10b14af5bdaa02.tar.gz
kube-28f66010b29bb9ec3def398f6e10b14af5bdaa02.zip
Set the plain type for plain mails
Diffstat (limited to 'framework/src/domain/mime/tests/mailtemplatetest.cpp')
-rw-r--r--framework/src/domain/mime/tests/mailtemplatetest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/src/domain/mime/tests/mailtemplatetest.cpp b/framework/src/domain/mime/tests/mailtemplatetest.cpp
index eccb3aa7..cc0fd61e 100644
--- a/framework/src/domain/mime/tests/mailtemplatetest.cpp
+++ b/framework/src/domain/mime/tests/mailtemplatetest.cpp
@@ -124,6 +124,7 @@ private slots:
124 QCOMPARE(result->subject()->asUnicodeString(), subject); 124 QCOMPARE(result->subject()->asUnicodeString(), subject);
125 QCOMPARE(result->body(), body.toUtf8()); 125 QCOMPARE(result->body(), body.toUtf8());
126 QVERIFY(result->date(false)->dateTime().isValid()); 126 QVERIFY(result->date(false)->dateTime().isValid());
127 QVERIFY(result->contentType()->isMimeType("text/plain"));
127 } 128 }
128 129
129 void testCreatePlainMailWithAttachments() 130 void testCreatePlainMailWithAttachments()