[Koha-bugs] [Bug 35248] Bookings needs unit tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 8 14:10:52 CET 2024


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #161894|0                           |1
        is obsolete|                            |

--- Comment #63 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 161910
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=161910&action=edit
Bug 35248: Refactor - Move assign_item_for_booking

This routine really belongs inside Koha::Booking rather than
Koha::Biblio. This patch moves it there, renames with _ to highlight
it's private nature.

Test plan
1) Confirm that t/db_dependant/Koha/Booking.t still passes, specifically
   the 'store' test.

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list