Lines 1956-1961
subtest 'CanBookBeIssued + AutoReturnCheckedOutItems' => sub {
Link Here
|
1956 |
plan tests => 2; |
1956 |
plan tests => 2; |
1957 |
|
1957 |
|
1958 |
my $library = $builder->build( { source => 'Branch' } ); |
1958 |
my $library = $builder->build( { source => 'Branch' } ); |
|
|
1959 |
my $patron_category_x = $builder->build_object( |
1960 |
{ |
1961 |
class => 'Koha::Patron::Categories', |
1962 |
value => { category_type => 'X' } |
1963 |
} |
1964 |
); |
1965 |
|
1959 |
my $patron1 = $builder->build_object( |
1966 |
my $patron1 = $builder->build_object( |
1960 |
{ |
1967 |
{ |
1961 |
class => 'Koha::Patrons', |
1968 |
class => 'Koha::Patrons', |
Lines 1971-1976
subtest 'CanBookBeIssued + AutoReturnCheckedOutItems' => sub {
Link Here
|
1971 |
class => 'Koha::Patrons', |
1978 |
class => 'Koha::Patrons', |
1972 |
value => { |
1979 |
value => { |
1973 |
branchcode => $library->{branchcode}, |
1980 |
branchcode => $library->{branchcode}, |
|
|
1981 |
categorycode => $patron_category_x->categorycode, |
1974 |
firstname => "Billy", |
1982 |
firstname => "Billy", |
1975 |
surname => "Madison", |
1983 |
surname => "Madison", |
1976 |
} |
1984 |
} |
1977 |
- |
|
|