]> git.koha-community.org Git - koha.git/commit
Bug 34094: (follow-up) Fix failing unit test
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 11 Jul 2023 13:26:46 +0000 (14:26 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 12 Jul 2023 17:30:49 +0000 (14:30 -0300)
commitb787e66fef1f14440aa24685171d386bc41b666d
tree2c598af44aa11abaa28db96e2f820fd42e0066b8
parent28d7108624d779934aad74931ef0aebdd9e732c2
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'

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/selenium/patrons_search.t