Bug 21773 - Increase minimum MockModule version (and switch to ->redefine)
Summary: Increase minimum MockModule version (and switch to ->redefine)
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Chris Cormack
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-06 16:34 UTC by Martin Renvoize (ashimema)
Modified: 2024-02-13 12:03 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Renvoize (ashimema) 2018-11-06 16:34:25 UTC
Our minimum version of MockModule is very low and as such doesn't support the safer 'redefined' method.

If at all possible, it would be great to up this module version and replace our calls to mock with calls to redefine so we can catch when methods are renamed or removed.
Comment 1 Martin Renvoize (ashimema) 2024-02-13 12:03:34 UTC
Still the case, we list a really old version in the cpanfile.