Lines 732-737
subtest "CanBookBeRenewed tests" => sub {
Link Here
|
732 |
|
732 |
|
733 |
# Make sure fine calculation isn't skipped when adding renewal |
733 |
# Make sure fine calculation isn't skipped when adding renewal |
734 |
t::lib::Mocks::mock_preference('CalculateFinesOnReturn', 1); |
734 |
t::lib::Mocks::mock_preference('CalculateFinesOnReturn', 1); |
|
|
735 |
t::lib::Mocks::mock_preference('RenewalPeriodBase', 'date_due'); |
735 |
|
736 |
|
736 |
my $staff = $builder->build_object({ class => "Koha::Patrons" }); |
737 |
my $staff = $builder->build_object({ class => "Koha::Patrons" }); |
737 |
t::lib::Mocks::mock_userenv({ patron => $staff }); |
738 |
t::lib::Mocks::mock_userenv({ patron => $staff }); |
738 |
- |
|
|