From a259f6f53d28ad30b7c943a2a50e6e3217c0ccad Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 10 Sep 2020 10:41:32 +0200 Subject: [PATCH] Bug 26250: Fix regressions.t when SearchEngine=ES Prior to this patch it failed with: t/db_dependent/selenium/regressions.t .. 5/5 Can't call method "leader" on an undefined value at /kohadevbox/koha/Koha/SearchEngine/Elasticsearch.pm line 548. Signed-off-by: Jonathan Druart --- t/db_dependent/selenium/regressions.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/selenium/regressions.t b/t/db_dependent/selenium/regressions.t index 98fcf091e5..3ee8fa190c 100644 --- a/t/db_dependent/selenium/regressions.t +++ b/t/db_dependent/selenium/regressions.t @@ -183,7 +183,7 @@ subtest 'Display circulation table correctly' => sub { or diag( "thead: $thead_length ; tfoot: $tfoot_length ; tbody: $tbody_length"); - push @cleanup, $patron->checkouts, $item->biblio, $item, $patron, + push @cleanup, $patron->checkouts, $item, $item->biblio, $patron, $patron->category, $library; }; -- 2.39.5