Commit ab111e47 authored by David Faure's avatar David Faure
Browse files

Fix expected value in messagefactorytest.

Now messagefactorytest passes. Please check if this is the correct expected value though.
I just noticed that this test is gone in master though, messagefactorytest being rewritten?

Test Plan: ctest -R messagefactorytest

Reviewers: mlaurent

Reviewed By: mlaurent

Subscribers: #kde_pim

Tags: #kde_pim

Differential Revision:
parent a9a88314
......@@ -207,8 +207,9 @@ void MessageFactoryTest::testCreateReplyToAllWithUseSenderAndIdentityInCCAsync()
QCOMPARE_OR_DIFF(reply.msg->body(), replyStr.toLatin1());
QString dateStr = reply.msg->date()->asUnicodeString();
QString ba = QString::fromLatin1("From: another <>\n"
"Date: %1\n"
QString ba = QString::fromLatin1("From: foo1 <>\n"
"X-KMail-Identity: %1\n"
"Date: %2\n"
"Cc: blo <>, bli <>, blu <>, bly <>, Bla <>\n"
"To: Bla <>\n"
"Subject: Re: Plain Message Test\n"
......@@ -216,8 +217,8 @@ void MessageFactoryTest::testCreateReplyToAllWithUseSenderAndIdentityInCCAsync()
"Content-Transfer-Encoding: 8Bit\nMIME-Version: 1.0\n"
"X-KMail-Link-Message: 0\n"
"X-KMail-Link-Type: reply\n\n"
QCOMPARE_OR_DIFF(reply.msg->encodedContent(), ba.toLatin1());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment