Koha-clms/t/lib
Marcel de Rooy 90ef2aedff Bug 18361: Koha::Objects->find should accept composite primary keys
Changes the $id parameter to an array. (IssuingRule has three keys.)
The build_object method in TestBuilder.pm has been adjusted to pass
multiple primary key values to find.

Also adjusted the POD section to show more clearly that we accept
the same parameters as DBIx ResultSet does.

Test plan:
Run t/db_dependent/Koha/Object.t
Run t/db_dependent/Koha/Objects.t
Run t/db_dependent/TestBuilder.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit ec288a50de)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2017-08-03 09:41:19 +02:00
..
Mocks.pm Bug 16134: t::lib::Mocks::mock_preference should be case-insensitive 2016-03-24 15:36:40 +00:00
TestBuilder.pm Bug 18361: Koha::Objects->find should accept composite primary keys 2017-08-03 09:41:19 +02:00