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

            Bug ID: 24543
           Summary: Wrong test in api/v1/checkouts.t
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

In t/db_dependent/api/v1/checkouts.t we define a circulation rule with
renewalperiod=7. But then the expected due date is today+14 days.
However, at the beginning of the script, the due_date of the issue is today+14
days.

That highlight that the renewal period is not taken into account.

The circulation rule is created with renewalperiod and renewalsallowed, however
GetLoanLength check the existence of issuelength to return the rule.
GetLoanLength finally return the default rule, with renewalperiod=0

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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