http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11224 --- Comment #5 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 23106 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23106&action=edit Bug 11224 : Add UT to subs of C4::Acquisition returning order(s) C4::Acquisition need more UT, and more robust ones. This patch adds UT to - GetOrder - GetOrders - GetCancelledOrders - GetLateOrders It refactors UT for SearchOrders New UT use 2 new subs, used for check the list of fields returns by a sub. _check_fields_of_order _check_fields_of_orders These 2 subs could later be used by other UT _check_fields_of_order has its own UT (tests n°14,15,16). They should maybe be commented after this patch is QAed. to test : prove t/db_dependent/Acquisition.t -v Signed-off-by: Liz Rea <liz@catalyst.net.nz> Unit tests pass, passes koha-qa. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Passes koha-qa and t -- You are receiving this mail because: You are watching all bug changes.