From 4225f1cfdd418dce703b6f30b05eb2906c2db2c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Cohen=20Arazi?= Date: Mon, 22 Sep 2025 09:50:56 -0300 Subject: [PATCH] Bug 38967: Add an exception for itemsearch.tt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomás Cohen Arazi --- xt/find-missing-op-in-forms.t | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xt/find-missing-op-in-forms.t b/xt/find-missing-op-in-forms.t index eb2fd4d92b..79f34fb1ec 100755 --- a/xt/find-missing-op-in-forms.t +++ b/xt/find-missing-op-in-forms.t @@ -29,8 +29,13 @@ my $dev_files = Koha::Devel::Files->new; my @files = $dev_files->ls_tt_files; ok( @files > 0, 'We should test something' ); +my @exceptions = qw( + koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt +); + my @errors; for my $file (@files) { + next if grep { $file =~ /\Q$_/ } @exceptions; my @e = catch_missing_op($file); push @errors, sprintf "%s:%s", $file, join( ",", @e ) if @e; } -- 2.51.0