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

--- Comment #28 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 198673
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198673&action=edit
Bug 42188: (follow-up) Update ModBiblio test for new info format

The 'ModBiblio on invalid record' subtest asserted the action log info
column contained 'biblionumber', but Koha::Biblio::_unblessed_for_log
restricts the logged hash to frameworkcode, opac_suppressed, and serial.
The biblionumber lives in action_logs.object, not in the info JSON.

Update the regex to match the new "biblio { ... }" prefix format set by
C4::Log::logaction so the assertion confirms biblio data is logged
without depending on a field that is intentionally excluded.

Test plan:
1. prove t/db_dependent/Biblio.t

-- 
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