@@ -, +, @@ --- t/db_dependent/Circulation.t | 8 ++++++++ 1 file changed, 8 insertions(+) --- a/t/db_dependent/Circulation.t +++ a/t/db_dependent/Circulation.t @@ -1956,6 +1956,13 @@ subtest 'CanBookBeIssued + AutoReturnCheckedOutItems' => sub { plan tests => 2; my $library = $builder->build( { source => 'Branch' } ); + my $patron_category_x = $builder->build_object( + { + class => 'Koha::Patron::Categories', + value => { category_type => 'X' } + } + ); + my $patron1 = $builder->build_object( { class => 'Koha::Patrons', @@ -1971,6 +1978,7 @@ subtest 'CanBookBeIssued + AutoReturnCheckedOutItems' => sub { class => 'Koha::Patrons', value => { branchcode => $library->{branchcode}, + categorycode => $patron_category_x->categorycode, firstname => "Billy", surname => "Madison", } --