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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 25 Aug 2017 14:53:43 +0000 (11:53 -0300)
commit7e4ce56b27025b05ee572100529eaa4f28e0933c
treed686532ca7db65ec05c3d47dae30dac5879ca7d2
parent249e721ba4b5f60c1d6f4567efd71a4609e60a98
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>
Koha/Acquisition/Booksellers.pm
t/db_dependent/Bookseller.t