From 5d53fc5d8c5db0393650c35065b8eee0206559dd Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 9 Apr 2019 09:19:16 +0100 Subject: [PATCH] Bug 12166: (QA follow-up) Update test for description Update the relevant test to check for 'description eq title' as aposed to the old 'description eq "Reserve Charge - title"'. Signed-off-by: Martin Renvoize --- t/db_dependent/Reserves.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Reserves.t b/t/db_dependent/Reserves.t index 8a5e969e75..214f42250d 100755 --- a/t/db_dependent/Reserves.t +++ b/t/db_dependent/Reserves.t @@ -735,7 +735,7 @@ subtest 'ChargeReserveFee tests' => sub { is( $line->borrowernumber, $patron->id , 'generated line belongs to the passed patron'); is( $line->amount, $fee , 'amount set correctly'); is( $line->amountoutstanding, $fee , 'amountoutstanding set correctly'); - is( $line->description, "Reserve Charge - $title" , 'Hardcoded description is generated'); + is( $line->description, "$title" , 'description is title of reserved item'); is( $line->branchcode, $library->id , "Library id is picked from userenv and stored correctly" ); }; -- 2.20.1