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

--- Comment #20 from Lisette Scheer <[email protected]> ---
Created attachment 195199
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195199&action=edit
Bug 40135: (follow-up) Add tests for Koha::Biblio::_unblessed_for_log

Add a '_unblessed_for_log() tests' subtest to t/db_dependent/Koha/Biblio.t
that verifies:
- the method returns a plain hashref
- fields with real values (biblionumber, title, author) are present
- timestamp is excluded
- undef fields are excluded
- empty-string fields are excluded
- the ADD action log diff column is populated and does not contain timestamp

Signed-off-by: Lisette Scheer <[email protected]>

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