]> git.koha-community.org Git - koha.git/commit
Bug 19130: Remove ->search() overloading and adjust tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 22 Aug 2017 15:01:24 +0000 (12:01 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 29 Sep 2017 13:21:13 +0000 (15:21 +0200)
commit854a9052f70d9a9b2c3b63fe2c3b35c1d40a5496
tree87f37ccb96efe4f56bec686de268774d9d7818a7
parent9f8cdead6e29f029e01038ecb4fbd6216544e996
Bug 19130: Remove ->search() overloading and adjust tests

This patch removes the custom ->search() function. Tests are adjusted
so the results from ->search() calls are not expected to return in the
previously hardcoded order.

To test:
- Apply this patch
- Run:
  $ sudo koha-shell kohadev
 k$ cd kohaclone
 k$ prove t/db_dependent/Bookseller.t
=> SUCCESS: Tests pass
- Sign off :-D

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 7e4ce56b27025b05ee572100529eaa4f28e0933c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Acquisition/Booksellers.pm
t/db_dependent/Bookseller.t