From c0750bc6beea86295e778c42a7a7a45a2145a11d Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Mon, 13 Nov 2023 09:04:24 -1000 Subject: [PATCH] Bug 21284: [23.05] (follow-up) Fix unit test with unblessed patron --- t/db_dependent/ILSDI_Services.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/ILSDI_Services.t b/t/db_dependent/ILSDI_Services.t index c3c4c16ba0..a849af922b 100755 --- a/t/db_dependent/ILSDI_Services.t +++ b/t/db_dependent/ILSDI_Services.t @@ -178,7 +178,7 @@ subtest 'GetPatronInfo test for holds' => sub { $builder->build_object( { class => 'Koha::Biblioitems', value => { biblionumber => $biblio->biblionumber } } ); my $item = $builder->build_sample_item( { biblionumber => $biblio->biblionumber, library => $library->branchcode, itype => $itemtype->itemtype } ); - my $issue = AddIssue( $brwr, $item->barcode ); + my $issue = AddIssue( $brwr->unblessed, $item->barcode ); # Prepare and send web request for IL-SDI server: my $query = CGI->new(); -- 2.42.0