[Koha-bugs] [Bug 5347] late order management

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 20 00:19:46 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5347

--- Comment #54 from Ian Walls <koha.sekjal at gmail.com> ---
Created attachment 8318
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8318&action=edit
Bug 5374 Followup: adds conditional check to unit test for late orders

If there are no late orders in the database, the 5th unit test for
C4/Acquisition.pm
fails, since no date is returned (and today's date is expected)

This patch adds a conditional check around whether any late orders are actually
returned
by GetLateOrders. If so, tests proceed, if not, they're skipped.  This seems to
quiet
the failures in the automated test suite.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list