Lines 735-741
subtest 'ChargeReserveFee tests' => sub {
Link Here
|
735 |
is( $line->borrowernumber, $patron->id , 'generated line belongs to the passed patron'); |
735 |
is( $line->borrowernumber, $patron->id , 'generated line belongs to the passed patron'); |
736 |
is( $line->amount, $fee , 'amount set correctly'); |
736 |
is( $line->amount, $fee , 'amount set correctly'); |
737 |
is( $line->amountoutstanding, $fee , 'amountoutstanding set correctly'); |
737 |
is( $line->amountoutstanding, $fee , 'amountoutstanding set correctly'); |
738 |
is( $line->description, "Reserve Charge - $title" , 'Hardcoded description is generated'); |
738 |
is( $line->description, "$title" , 'description is title of reserved item'); |
739 |
is( $line->branchcode, $library->id , "Library id is picked from userenv and stored correctly" ); |
739 |
is( $line->branchcode, $library->id , "Library id is picked from userenv and stored correctly" ); |
740 |
}; |
740 |
}; |
741 |
|
741 |
|
742 |
- |
|
|