[Koha-bugs] [Bug 32340] Several tests failing for t/db_dependent/Reserves.t
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 30 14:36:55 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32340
Emmi Takkinen <emmi.takkinen at koha-suomi.fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |Needs Signoff
Assignee|chris at bigballofwax.co.nz |emmi.takkinen at koha-suomi.fi
--- Comment #7 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
Created attachment 152903
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152903&action=edit
Bug 32340: Fix t/db_dependent/Reserves.t tests
This patch does following fixes:
- Get rid of "Use of uninitialized value $email in string ne" warning
by adding email for test patrons
- Prevent "Can't call method "can_edit_items_from" on an undefined
value" by adding mock manager patron
- Fix typos in DefaultHoldExpirationdate tests
To test:
1) Run prove t/db_dependent/Reserves.t.
-> Tests should fail.
2) Apply this patch.
3) Rerun prove t/db_dependent/Reserves.t.
-> Success!
Sponsored-by: Koha-Suomi Oy
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list