summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-21 14:15:04 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-21 14:15:04 (GMT)
commite8287a0ce253adfe70e4850cb10f3e10cb78d833 (patch)
tree7bcfe8d06e9a638eec05ad06db37dfc6b1f90fe0
parent0ca1f3b647799f5aba4a817dedb5fecf25e47a6f (diff)
Fix this autotest too
-rw-r--r--messagecomposer/autotests/messagefactorytest.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/messagecomposer/autotests/messagefactorytest.cpp b/messagecomposer/autotests/messagefactorytest.cpp
index bd5e4cf..eaa5e79 100644
--- a/messagecomposer/autotests/messagefactorytest.cpp
+++ b/messagecomposer/autotests/messagefactorytest.cpp
@@ -202,9 +202,8 @@ void MessageFactoryTest::testCreateReplyUTF16Base64()
QDateTime date = msg->date()->dateTime();
QString datetime = QLocale::system().toString(date.date(), QLocale::LongFormat);
datetime += QLatin1String(" ") + QLocale::system().toString(date.time(), QLocale::LongFormat);
- QString replyStr = QString::fromLatin1(QByteArray(QByteArray("On ") + datetime.toLatin1() + QByteArray(" you wrote:\n> quote me please.\n")));
- QSKIP("This test has been failing for a long time, please someone fix it", SkipSingle);
- QCOMPARE(reply.msg->contentType()->mimeType(), QStringLiteral("multipart/alternative"));
+ QString replyStr = QString::fromLatin1(QByteArray(QByteArray("On ") + datetime.toLatin1() + QByteArray(" you wrote:\n> quote me please.\n\n")));
+ QCOMPARE(reply.msg->contentType()->mimeType(), QByteArrayLiteral("multipart/alternative"));
QCOMPARE(reply.msg->subject()->asUnicodeString(), QLatin1String("Re: asking for reply"));
QCOMPARE_OR_DIFF(reply.msg->contents().at(0)->body(), replyStr.toLatin1());
delete identMan;