View | Details | Raw Unified | Return to bug 15494
Collapse All | Expand All

(-)a/t/db_dependent/Circulation.t (-2 / +3 lines)
Lines 2081-2087 subtest 'ItemsDeniedRenewal preference' => sub { Link Here
2081
    });
2081
    });
2082
2082
2083
    my $idr_borrower = $builder->build_object({ class => 'Koha::Patrons'});
2083
    my $idr_borrower = $builder->build_object({ class => 'Koha::Patrons'});
2084
2084
    my $future = dt_from_string->add( days => 1 );
2085
    my $deny_issue = $builder->build_object({ class => 'Koha::Checkouts', value => {
2085
    my $deny_issue = $builder->build_object({ class => 'Koha::Checkouts', value => {
2086
        returndate => undef,
2086
        returndate => undef,
2087
        renewals => 0,
2087
        renewals => 0,
Lines 2089-2094 subtest 'ItemsDeniedRenewal preference' => sub { Link Here
2089
        borrowernumber => $idr_borrower->borrowernumber,
2089
        borrowernumber => $idr_borrower->borrowernumber,
2090
        itemnumber => $deny_book->itemnumber,
2090
        itemnumber => $deny_book->itemnumber,
2091
        onsite_checkout => 0,
2091
        onsite_checkout => 0,
2092
        date_due => $future,
2092
        }
2093
        }
2093
    });
2094
    });
2094
    my $allow_issue = $builder->build_object({ class => 'Koha::Checkouts', value => {
2095
    my $allow_issue = $builder->build_object({ class => 'Koha::Checkouts', value => {
Lines 2098-2103 subtest 'ItemsDeniedRenewal preference' => sub { Link Here
2098
        borrowernumber => $idr_borrower->borrowernumber,
2099
        borrowernumber => $idr_borrower->borrowernumber,
2099
        itemnumber => $allow_book->itemnumber,
2100
        itemnumber => $allow_book->itemnumber,
2100
        onsite_checkout => 0,
2101
        onsite_checkout => 0,
2102
        date_due => $future,
2101
        }
2103
        }
2102
    });
2104
    });
2103
2105
2104
- 

Return to bug 15494