diff --git a/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t b/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t index 84ad699d89..4d24c93f5f 100755 --- a/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t +++ b/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t @@ -49,7 +49,7 @@ my $guarantee = $builder->build_object( { class => 'Koha::Patrons', value => { - patron_category => $patron_category->{categorycode}, + categorycode => $patron_category->{categorycode}, } } );