Lines 320-325
subtest 'accumulate_rentalcharge tests' => sub {
Link Here
|
320 |
); |
320 |
); |
321 |
|
321 |
|
322 |
# Daily tests |
322 |
# Daily tests |
|
|
323 |
Koha::CirculationRules->set_rules({ |
324 |
categorycode => $patron->categorycode, |
325 |
itemtype => $itemtype->id, |
326 |
branchcode => $library->id, |
327 |
rules => { |
328 |
lengthunit => 'days', |
329 |
} |
330 |
} |
331 |
); |
332 |
|
323 |
$itemtype->rentalcharge_daily(1.00); |
333 |
$itemtype->rentalcharge_daily(1.00); |
324 |
$itemtype->store(); |
334 |
$itemtype->store(); |
325 |
is( $itemtype->rentalcharge_daily, |
335 |
is( $itemtype->rentalcharge_daily, |
326 |
- |
|
|