diff --git a/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t b/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t index 201a7650fb..dd45037aa2 100644 --- a/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t +++ b/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t @@ -47,7 +47,7 @@ my $patron = $builder->build( { source => 'Borrower', value => { - patron_category => $patron_category->{categorycode}, + categorycode => $patron_category->{categorycode}, } } ); @@ -56,7 +56,7 @@ my $guarantee = $builder->build( source => 'Borrower', value => { guarantorid => $patron->{borrowernumber}, - patron_category => $patron_category->{categorycode}, + categorycode => $patron_category->{categorycode}, } } );