[FOLIO-1653] loan renewals tests fail Created: 13/Dec/18  Updated: 03/Jun/20  Resolved: 17/Dec/18

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: P2
Reporter: Zak Burke Assignee: Aditya matukumalli
Resolution: Done Votes: 0
Labels: q4-2018, sprint53
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Sprint:

 Description   

Five platform-core integration tests related to loan renewals fail:

    Tests to validate the loan renewals
      Login > Update settings > Create loan policy > Apply Loan rule > Find Active user > Create inventory record > Create holdings record > Create item record > Checkout item > Confirm checkout > Renew success > Renew failure > Renew failure > create fixedDueDateSchedule > Assign fdds to loan policy > Renew failure > Edit loan policy > Renew failure > Check in > delete loan policy > delete fixedDueDateSchedule > logout

        ✓ should login as diku_admin/admin (3900ms)
        ✓ should configure checkout for barcode and username (1787ms)
        ✓ should create a new loan policy with renewalLimit of 1 (3375ms)
        ✓ Apply the loan policy created as a loan rule to material-type book (1332ms)
        ✓ should find an active user  (2297ms)
          Found user tyler
        ✓ should create inventory record (1538ms)
        ✓ should create holdings record (2670ms)
        ✓ should create item record (1288ms)
        ✓ should check out 1544673074452 to user (1792ms)
        1) should find 1544673074452 in user's open loans
        2) should renew the loan and succeed
        3) should renew the loan second time and hit the renewal limit
        4) Edit loan policy, renew from system date should fail the renewal
        ✓ should create a new fixedDueDateSchedule (4763ms)
        ✓ Assign the fixedDueDateSchedule to the loan policy (2682ms)
        5) Renewal should fail as renewal date falls outside of the date ranges
        ✓ should check in 1544673074452 (1594ms)
        ✓ should restore the loan rules (1210ms)
        ✓ should delete the loan policy (3281ms)
        ✓ should delete the fixedDueDateSchedule (218ms)
        ✓ should logout

Generated at Thu Feb 08 23:14:55 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.