Fix failing autotest grantleeheaderformattertest
ClosedPublic

Authored by gjditchfield on Aug 2 2019, 4:39 PM.

Details

Summary

grantleeheaderformattertest formats the date 2018-05-21 in a number of
ways, then compares it to strings containing "yesterday", which is no
longer correct.

Diff Detail

Repository
R94 PIM: Message Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
gjditchfield created this revision.Aug 2 2019, 4:39 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptAug 2 2019, 4:39 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
gjditchfield requested review of this revision.Aug 2 2019, 4:39 PM
dvratil accepted this revision.Aug 5 2019, 11:45 AM
dvratil added a subscriber: dvratil.

Many thanks for fixing the tests!

I've also requested sysadmins to re-enable (at least partially) tests in messagelib on the CI so we should notice sooner when we break them :-)

This revision is now accepted and ready to land.Aug 5 2019, 11:45 AM
This revision was automatically updated to reflect the committed changes.
knauss added a subscriber: knauss.Aug 18 2019, 8:48 AM

That's only one part of the fix. But we also want to test the Fancy date format: see D21442.