@@ -, +, @@ tests +delete issuingrules; --- t/db_dependent/Koha/Charges/Fees.t | 10 ++++++++++ 1 file changed, 10 insertions(+) --- a/t/db_dependent/Koha/Charges/Fees.t +++ a/t/db_dependent/Koha/Charges/Fees.t @@ -320,6 +320,16 @@ subtest 'accumulate_rentalcharge tests' => sub { ); # Daily tests + Koha::CirculationRules->set_rules({ + categorycode => $patron->categorycode, + itemtype => $itemtype->id, + branchcode => $library->id, + rules => { + lengthunit => 'days', + } + } + ); + $itemtype->rentalcharge_daily(1.00); $itemtype->store(); is( $itemtype->rentalcharge_daily, --