[Koha-bugs] [Bug 14494] Terribly slow checkout caused by DateTime->new in far future

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 10 10:22:20 CEST 2015


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #40908|0                           |1
        is obsolete|                            |

--- Comment #23 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 40912
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40912&action=edit
Bug 14494: Add some unit tests too for CalcDateDue

The second patch of this report made some changes to CalcDateDue.
We are adding some unit tests here.
See the commments on the third patch too.

Test plan:
Run t/db_dependent/Circulation_dateexpiry.t

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Amended patch: Set the number of tests for the second subtest (was
commented) and perltidy the second block.

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


More information about the Koha-bugs mailing list