Commit b0d1d8ff authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau Committed by Laurent Montel
Browse files

Adapt MessageFactoryTest::test_multipartAlternative to new replyAsHtml flag

TemplateParserJob got a new property replyAsHtml, by default false.
Only if set to true will the value of
TemplateParserSettings::replyUsingVisualFormat be respected.
That one though is false by default as well, only true if another test
set if before (happens on normal test runs), si it gets explicitly set
as well.
parent c0deca24
Pipeline #76008 passed with stage
in 24 minutes and 46 seconds
......@@ -970,6 +970,8 @@ void MessageFactoryTest::test_multipartAlternative()
factory.setQuote(true);
factory.setReplyStrategy(ReplyAll);
TemplateParser::TemplateParserSettings::self()->setTemplateReplyAll(QStringLiteral("%QUOTE"));
TemplateParser::TemplateParserSettings::self()->setReplyUsingVisualFormat(true);
factory.setReplyAsHtml(true);
QString str;
str = TemplateParser::TemplateParserSettings::self()->templateReplyAll();
......
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