Bug 21773

Summary: Increase minimum MockModule version (and switch to ->redefine)
Product: Koha Reporter: Martin Renvoize (ashimema) <martin.renvoize>
Component: Test SuiteAssignee: Chris Cormack <chris>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

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.