From 4ac1a8befd81d07e4c67e9c5409987468e9e4d89 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 25 Nov 2022 12:45:26 +0100 Subject: [PATCH] Bug 32351: Fix Illrequests.t Signed-off-by: Tomas Cohen Arazi (cherry picked from commit ade52182c40473e808b12f4d80c242bcb2b94243) Signed-off-by: Jacob O'Mara --- t/db_dependent/Illrequests.t | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/t/db_dependent/Illrequests.t b/t/db_dependent/Illrequests.t index 7dd4f76a53..f33181ce1a 100755 --- a/t/db_dependent/Illrequests.t +++ b/t/db_dependent/Illrequests.t @@ -1193,10 +1193,7 @@ subtest 'Checking out' => sub { }); my $library = $builder->build_object({ class => 'Koha::Libraries' }); my $biblio = $builder->build_sample_biblio(); - my $patron = $builder->build_object({ - class => 'Koha::Patrons', - value => { category_type => 'x' } - }); + my $patron = $builder->build_object({ class => 'Koha::Patrons' }); my $request = $builder->build_object({ class => 'Koha::Illrequests', value => { @@ -1316,10 +1313,7 @@ subtest 'Checking out with custom due date' => sub { $schema->storage->txn_begin; my $library = $builder->build_object({ class => 'Koha::Libraries' }); - my $patron = $builder->build_object({ - class => 'Koha::Patrons', - value => { category_type => 'x' } - }); + my $patron = $builder->build_object({ class => 'Koha::Patrons' }); my $biblio = $builder->build_sample_biblio(); my $itemtype_loanable = $builder->build_object({ class => 'Koha::ItemTypes', -- 2.39.2