From fec24d558efaabf02148fe2a4ba62a53b891ee83 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 29 Jun 2026 16:18:15 +0200 Subject: [PATCH] Bug 42937: Remove unneeded flag in 00-strict.t $Test::Strict::TEST_STRICT = 0 is only set for all_perl_files_ok It's no longer used since bug 42126 Test plan: prove t/db_dependent/00-strict.t should still return green Remove a use Modern::Perl for mainpage.pl => Should still return green Signed-off-by: David Nind Signed-off-by: Lisette Scheer Signed-off-by: Lucas Gass --- t/db_dependent/00-strict.t | 2 -- 1 file changed, 2 deletions(-) diff --git a/t/db_dependent/00-strict.t b/t/db_dependent/00-strict.t index a9127b414b..de091ab9b2 100755 --- a/t/db_dependent/00-strict.t +++ b/t/db_dependent/00-strict.t @@ -19,8 +19,6 @@ my $dev_files = Koha::Devel::Files->new( { context => 'strict' } ); my @files = $dev_files->ls_perl_files; plan tests => scalar @files + 1; -$Test::Strict::TEST_STRICT = 0; - my $ncpu; if ( $ENV{KOHA_PROVE_CPUS} ) { $ncpu = $ENV{KOHA_PROVE_CPUS}; # set number of cpus to use