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 <david@davidnind.com>
Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
Jonathan Druart 2026-06-29 16:18:15 +02:00 committed by Pedro Amorim
parent fe8f079121
commit 2b872b182a
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
1 changed files with 0 additions and 2 deletions

View File

@ -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