Koha-clms/Koha/SIP2
Pedro Amorim 0bbd97a4b9
Bug 37893: (QA follow-up): Fix pod_coverage.t
To test:
prove -v /kohadevbox/koha/xt/author/pod_coverage.t

The changes to Schema files are fixes that were overlooked originally.

The 'die' line in C4/SIP/Sip/Configuration.pm is to force the script to die if SIP configuration does not exist, which only happens when running pod_coverage.t
The original code (prior to 37893) did not consider the possibiliy of a config_file being invalid or undef, parser->XMLin(config_file) died silently, but because pod_coverage.t skips over files that die, it didn't fail. See bug 41271.
Now, with the changes from bug 37893, if a config_file doesnt exist the code falls back to whats in the cache, so it doesn't try to XMLin load an invalid config_file anymore, and fails verbosely.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2025-11-19 10:05:29 -07:00
..
Account Bug 37893: Fix http links 2025-11-18 11:21:20 -07:00
Account.pm Bug 37893: Fix http links 2025-11-18 11:21:20 -07:00
Accounts.pm Bug 37893: Fix http links 2025-11-18 11:21:20 -07:00
Institution.pm Bug 37893: Fix http links 2025-11-18 11:21:20 -07:00
Institutions.pm Bug 37893: Fix http links 2025-11-18 11:21:20 -07:00
Object.pm Bug 37893: (QA follow-up): Fix pod_coverage.t 2025-11-19 10:05:29 -07:00
SystemPreferenceOverride.pm Bug 37893: Fix http links 2025-11-18 11:21:20 -07:00
SystemPreferenceOverrides.pm Bug 37893: Fix http links 2025-11-18 11:21:20 -07:00