Bug 20997: ->apply should be applied to Koha::Account::Lines
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 28 Jun 2018 18:52:01 +0000 (15:52 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 10 Aug 2018 12:30:35 +0000 (12:30 +0000)
commitd0e37a483cb8445c7830764eef9603694830b56d
treebdd65c9d8838eccbb3f04c45d699af363b070ffa
parent91c1acd6bb99f18dc1f532414621c5554f230527
Bug 20997: ->apply should be applied to Koha::Account::Lines

This patch makes ->apply get passed an object set class instead of
single account lines.

The change is fully covered by tests.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Account/Line.pm
t/db_dependent/Koha/Account/Lines.t