Lines 329-334
subtest renew => sub {
Link Here
|
329 |
); |
329 |
); |
330 |
t::lib::Mocks::mock_userenv( { branchcode => $library->branchcode } ); |
330 |
t::lib::Mocks::mock_userenv( { branchcode => $library->branchcode } ); |
331 |
|
331 |
|
|
|
332 |
Koha::CirculationRules->set_rule( |
333 |
{ |
334 |
categorycode => undef, |
335 |
itemtype => undef, |
336 |
branchcode => undef, |
337 |
rule_name => 'renewalsallowed', |
338 |
rule_value => '5', |
339 |
} |
340 |
); |
341 |
|
332 |
my $item = $builder->build_sample_item( |
342 |
my $item = $builder->build_sample_item( |
333 |
{ |
343 |
{ |
334 |
library => $library->branchcode, |
344 |
library => $library->branchcode, |
335 |
- |
|
|