Skip to content

Commit

Permalink
test: fix interval for fees after extend
Browse files Browse the repository at this point in the history
Co-Authored-by: Bertrand Zuchuat <[email protected]>
  • Loading branch information
Garfield-fr committed Jan 5, 2023
1 parent e4c6a94 commit 365a0f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ui/circulation/test_actions_extend.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_fees_after_extend(

# UPDATE LOAN TO BE OVERDUE
# LIBRARY FIXTURES EXCEPTION: Christmas Holidays is 15 days
interval = 15
interval = 20
while not loan.is_loan_overdue():
new_end_date = datetime.now(timezone.utc) - timedelta(days=interval)
loan['end_date'] = new_end_date.isoformat()
Expand Down

0 comments on commit 365a0f6

Please sign in to comment.