From 365327b1794305192c203b6e823a307bf44070a7 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 1 Oct 2024 15:53:11 +0100 Subject: [PATCH] Bug 17976: Update test to include fines This patch updates the existing test to include checking the alternative to items.fine syntax. We could use the account_lines relation, however that would include other charges linked to the checkout, for example rental charges. I opt to add a new accessor to give us more options and refine to just overdue fines. Signed-off-by: Emily Lamancusa Signed-off-by: Kyle M Hall --- t/db_dependent/Letters/TemplateToolkit.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/Letters/TemplateToolkit.t b/t/db_dependent/Letters/TemplateToolkit.t index 1ac70733b14..35c836a97c4 100755 --- a/t/db_dependent/Letters/TemplateToolkit.t +++ b/t/db_dependent/Letters/TemplateToolkit.t @@ -839,7 +839,7 @@ If you have registered a password with the library, and you have a renewal avail The following item(s) is/are currently overdue: -"<>" by <>, <>, Barcode: <> +"<>" by <>, <>, Barcode: <>, Fine: <> <> @@ -889,6 +889,7 @@ EOF # historic syntax my $tt_template = <