[Koha-bugs] [Bug 34094] Apply DefaultPatronSearchMethod to all patron search forms

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 11 15:28:13 CEST 2023


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

--- Comment #16 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 153324
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153324&action=edit
Bug 34094: (follow-up) Fix failing unit test

The unit tests were written to assume we always do a 'contains' search,
but the new system preference allows for 'starts_with' or 'contains'.

As such, for the tests to pass, we need to explicitly mock the
preference to 'contains'

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


More information about the Koha-bugs mailing list