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 <martin.renvoize@ptfs-europe.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
a00e1467b9
commit
bc5e84eedc
1 changed files with 1 additions and 1 deletions
|
@ -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" );
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue