From 48504877c0be5a2296c2dc0918c973f6ae8fba60 Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
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.
---
 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.20.1