@@ -, +, @@ --- t/db_dependent/Circulation.t | 2 +- t/db_dependent/Circulation/MarkIssueReturned.t | 2 +- t/db_dependent/Circulation/NoIssuesChargeGuarantees.t | 2 +- t/db_dependent/Circulation/SwitchOnSiteCheckouts.t | 2 +- t/db_dependent/Circulation/dateexpiry.t | 2 +- t/db_dependent/DecreaseLoanHighHolds.t | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) --- a/t/db_dependent/Circulation.t +++ a/t/db_dependent/Circulation.t @@ -63,7 +63,7 @@ my $itemtype = $builder->build( value => { notforloan => undef, rentalcharge => 0, defaultreplacecost => undef, processfee => undef } } )->{itemtype}; -my $patron_category = $builder->build({ source => 'Category', value => { category_type => 'NOT_X', category_type => 'P', enrolmentfee => 0 } }); +my $patron_category = $builder->build({ source => 'Category', value => { category_type => 'P', enrolmentfee => 0 } }); my $CircControl = C4::Context->preference('CircControl'); my $HomeOrHoldingBranch = C4::Context->preference('HomeOrHoldingBranch'); --- a/t/db_dependent/Circulation/MarkIssueReturned.t +++ a/t/db_dependent/Circulation/MarkIssueReturned.t @@ -39,7 +39,7 @@ my $library = $builder->build({ source => 'Branch' }); C4::Context->_new_userenv('xxx'); C4::Context->set_userenv(0,0,0,'firstname','surname', $library->{branchcode}, $library->{branchname}, '', '', ''); -my $patron_category = $builder->build({ source => 'Category', value => { category_type => 'NOT_X', category_type => 'P', enrolmentfee => 0 } }); +my $patron_category = $builder->build({ source => 'Category', value => { category_type => 'P', enrolmentfee => 0 } }); my $patron = $builder->build({ source => 'Borrower', value => { branchcode => $library->{branchcode}, categorycode => $patron_category->{categorycode} } } ); my $biblioitem = $builder->build( { source => 'Biblioitem' } ); --- a/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t +++ a/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t @@ -42,7 +42,7 @@ my $item = $builder->build( } ); -my $patron_category = $builder->build({ source => 'Category', value => { category_type => 'NOT_X', category_type => 'P', enrolmentfee => 0 } }); +my $patron_category = $builder->build({ source => 'Category', value => { category_type => 'P', enrolmentfee => 0 } }); my $patron = $builder->build( { source => 'Borrower', --- a/t/db_dependent/Circulation/SwitchOnSiteCheckouts.t +++ a/t/db_dependent/Circulation/SwitchOnSiteCheckouts.t @@ -50,7 +50,7 @@ my $branch = $builder->build({ source => 'Branch', }); -my $patron_category = $builder->build({ source => 'Category', value => { category_type => 'NOT_X', category_type => 'P', enrolmentfee => 0 } }); +my $patron_category = $builder->build({ source => 'Category', value => { category_type => 'P', enrolmentfee => 0 } }); my $patron = $builder->build({ source => 'Borrower', value => { --- a/t/db_dependent/Circulation/dateexpiry.t +++ a/t/db_dependent/Circulation/dateexpiry.t @@ -34,7 +34,7 @@ my $builder = t::lib::TestBuilder->new(); $ENV{ DEBUG } = 0; -my $patron_category = $builder->build({ source => 'Category', value => { category_type => 'NOT_X', category_type => 'P', enrolmentfee => 0 } }); +my $patron_category = $builder->build({ source => 'Category', value => { category_type => 'P', enrolmentfee => 0 } }); subtest 'Tests for CanBookBeIssued related to dateexpiry' => sub { plan tests => 4; --- a/t/db_dependent/DecreaseLoanHighHolds.t +++ a/t/db_dependent/DecreaseLoanHighHolds.t @@ -51,7 +51,7 @@ C4::Context->_new_userenv('xxx'); C4::Context->set_userenv( 0, 0, 0, 'firstname', 'surname', $library->{branchcode}, 'Midway Public Library', '', '', '' ); is( C4::Context->userenv->{branch}, $library->{branchcode}, 'userenv set' ); -my $patron_category = $builder->build({ source => 'Category', value => { category_type => 'NOT_X', category_type => 'P', enrolmentfee => 0 } }); +my $patron_category = $builder->build({ source => 'Category', value => { category_type => 'P', enrolmentfee => 0 } }); my @patrons; for my $i ( 1 .. 20 ) { my $patron = Koha::Patron->new( --