Fix failures in autotest templateparserjobtest

Authored by gjditchfield on Aug 5 2019, 11:53 AM.

Description

Fix failures in autotest templateparserjobtest

Summary:
templateparserjobtest suffers 3 failures in test_replyHtml() at lines

QVERIFY(parser->d->mOtp->htmlContent().isEmpty());
QVERIFY(!parser->d->mOtp->plainTextContent().isEmpty());

I think these lines were added accidentally.

  • If I understand the git history, they were added in revision a13359849ef0, "Merge branch 'Applications/19.04'", but they don't exist on the 19.04 branch or the previous master revision.
  • The first line verifies that htmlContent is empty, but later the test checks for expected HTML content.
  • test_replyHtml() has similar structure to test_replyPlain(), test_forwardplain(), and test_forwardHtml(), which do not have similar tests.

This patch deletes the lines.

Reviewers: knauss, dvratil

Reviewed By: dvratil

Subscribers: dvratil, kde-pim

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D22828

Details

Committed
dvratilAug 5 2019, 11:56 AM
Reviewer
dvratil
Differential Revision
D22828: Fix failures in autotest templateparserjobtest
Parents
R94:50e3d03aa033: Fix failing autotest grantleeheaderformattertest
Branches
Unknown
Tags
Unknown