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

(-)a/t/db_dependent/Holds.t (-3 / +2 lines)
Lines 34-40 my $dbh = C4::Context->dbh; Link Here
34
my $branch_1 = $builder->build({ source => 'Branch' })->{ branchcode };
34
my $branch_1 = $builder->build({ source => 'Branch' })->{ branchcode };
35
my $branch_2 = $builder->build({ source => 'Branch' })->{ branchcode };
35
my $branch_2 = $builder->build({ source => 'Branch' })->{ branchcode };
36
36
37
my $category = $builder->build({ source => 'Category' })->{categorycode};
37
my $category = $builder->build({ source => 'Category' });
38
38
39
my $borrowers_count = 5;
39
my $borrowers_count = 5;
40
40
Lines 60-66 foreach (1..$borrowers_count) { Link Here
60
    my $borrowernumber = AddMember(
60
    my $borrowernumber = AddMember(
61
        firstname =>  'my firstname',
61
        firstname =>  'my firstname',
62
        surname => 'my surname ' . $_,
62
        surname => 'my surname ' . $_,
63
        categorycode => $category,
63
        categorycode => $category->{categorycode},
64
        branchcode => $branch_1,
64
        branchcode => $branch_1,
65
    );
65
    );
66
    push @borrowernumbers, $borrowernumber;
66
    push @borrowernumbers, $borrowernumber;
67
- 

Return to bug 16717