[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:37:00 CEST 2016


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

--- Comment #23 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to M. Tompsett from comment #22)
> Comment on attachment 50014 [details] [review]
> Bug 15757: Make GetLoanLength defaults to 0 instead of 21
> 
> Review of attachment 50014 [details] [review]:
> -----------------------------------------------------------------
> 
> ::: 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.

Don't know where does it come from, it's certainly a c/p issue. The number of
expected tests is 10 and 11 are run.

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


More information about the Koha-bugs mailing list