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

--- Comment #54 from Ian Walls <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to