A couple of unit tests need to be adjusted to changes in TWiki code:
CommentPlugin/CommentPluginTests.pm: Needs to explicitly disable the
ExceptionTests.pm, RenameTests.pm,StoreSmokeTests.pm: The new oops mechanism had all its templates renamed to oops*, but test cases have been not adapted accordingly.
ResponseTests.pm: At some point in time,
TWiki::Response::headers decided to add a
Date header, which has not been accounted for in the unit test.
SaveScriptTests.pm: Needs to re-read the topic after creating a new
TWiki object so that asserts have access to the data.
TocTests.pm: setup needs to be adapted to the changes by Item7286.
TWikiFnTestCase.pm: When creating temporary webs, the users web must be created before other webs because
WatchlistPlugin (enabled per default) wants to read user preferences.
TimeTests.pm makes the assumption that Paris is always
GMT+1 which fails in Summer. Can be fixed by chosing a location which does not have daylight saving time.
RenderFormTests.pm wasn't right with label type field.
These might need another look, please revert if considered inappropriate:
ConfigureTests.pm: The tests for regexes as configuration items had a special handling for "versions less than Perl v5.14" - but apparently Perl v5.18 behaves like the old ones.
TWiki/Users/HtPasswdUser.pm: The module
Digest::SHA1 seems to be unavailable in recent Linux distributions,
Digest::SHA is a drop-in replacement.
StoreTests.pm: Makes the assumption that hashes with identical keys will return them in the same order - which is no longer valid in Perl v5.18. I chose to change
TWiki::Meta::stringify to always return keys in a defined (sorted) order.