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

(-)a/t/db_dependent/DecreaseLoanHighHolds.t (-3 / +2 lines)
Lines 19-25 use Modern::Perl; Link Here
19
19
20
use C4::Circulation;
20
use C4::Circulation;
21
use Koha::Database;
21
use Koha::Database;
22
use Koha::Borrower;
22
use Koha::Patron;
23
use Koha::Biblio;
23
use Koha::Biblio;
24
use Koha::Item;
24
use Koha::Item;
25
use Koha::Holds;
25
use Koha::Holds;
Lines 51-57 is( C4::Context->userenv->{branch}, $library->{branchcode}, 'userenv set' ); Link Here
51
51
52
my @patrons;
52
my @patrons;
53
for my $i ( 1 .. 20 ) {
53
for my $i ( 1 .. 20 ) {
54
    my $patron = Koha::Borrower->new(
54
    my $patron = Koha::Patron->new(
55
        { cardnumber => $i, firstname => 'Kyle', surname => 'Hall', categorycode => $category->{categorycode}, branchcode => $library->{branchcode} } )
55
        { cardnumber => $i, firstname => 'Kyle', surname => 'Hall', categorycode => $category->{categorycode}, branchcode => $library->{branchcode} } )
56
      ->store();
56
      ->store();
57
    push( @patrons, $patron );
57
    push( @patrons, $patron );
58
- 

Return to bug 14694