diff --git a/t/db_dependent/Koha/Item.t b/t/db_dependent/Koha/Item.t index 5d3d780f35..ab6d01c5d7 100755 --- a/t/db_dependent/Koha/Item.t +++ b/t/db_dependent/Koha/Item.t @@ -2728,9 +2728,9 @@ subtest 'find_booking' => sub { # Adding lead period rule Koha::CirculationRules->set_rules( { - branchcode => '*', - itemtype => $item->effective_itemtype, - rules => { + branchcode => '*', + itemtype => $item->effective_itemtype, + rules => { bookings_lead_period => 3, }, }