https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37893

--- Comment #70 from Pedro Amorim <[email protected]> ---
Created attachment 189711
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189711&action=edit
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.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to