[Koha-bugs] [Bug 15757] Hard coded due loan/renewal period of 21 days if no circ rule found in C4::Circulation::GetLoanLength

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 7 15:16:03 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15757

--- Comment #22 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 50014
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50014
Bug 15757: Make GetLoanLength defaults to 0 instead of 21

Review of attachment 50014:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=15757&attachment=50014)
-----------------------------------------------------------------

::: t/db_dependent/Circulation_Issuingrule.t
@@ +113,5 @@
> +is_deeply(
> +    C4::Circulation::GetLoanLength(),
> +    $default,
> +    "Without parameters, GetLoanLength returns hardcoded values"
> +);

This is an added test. If the number of tests to run is set, then you forgot to
update it.

@@ +360,3 @@
>  is_deeply(
>      C4::Circulation::GetLoanLength(),
> +    $default,

Nice clean up!

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


More information about the Koha-bugs mailing list