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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 7 23:53:56 CET 2024


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at davidnind.com

--- Comment #42 from David Nind <david at davidnind.com> ---
I ran the tests before and after the patches were applied. I hope that is
sufficient for testing.

Testing notes using koha-testing-docker:

1. Tests pass before and after patches applied:
   prove t/db_dependent/Circulation.t 
   prove t/Koha/Exceptions.t
   prove t/db_dependent/Koha/Item.t
   prove t/db_dependent/Koha/Booking.t (new tests)
   prove t/db_dependent/Koha/Biblio.t

2. Note: path to run the tests is t/db_dependent/Koha/Item.t (not db_dependant)
for these patches:
  - Add unit test for Koha::Item->bookings relation
  - Add unit tests for Koha::Item->find_booking
  - Add unit tests for Koha::Item->check_booking
  - Add Koha::Biblio->bookings unit test

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


More information about the Koha-bugs mailing list