Bug 41521: Exclude lib/WebService from pod xt tests

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
(cherry picked from commit bbf43f465e)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
This commit is contained in:
Jonathan Druart 2026-01-23 10:22:23 +01:00 committed by Jacob O'Mara
parent 85190fedf5
commit 7a067fd083
No known key found for this signature in database
3 changed files with 9 additions and 4 deletions

View File

@ -54,6 +54,11 @@ my $exceptions = {
misc/cronjobs/build_browser_and_cloud.pl
)
],
pod => [
qw(
lib/WebService/
)
],
core => [],
},
js => {

View File

@ -6,7 +6,7 @@ use Test::NoWarnings;
use Pod::Checker;
use Koha::Devel::Files;
my $dev_files = Koha::Devel::Files->new;
my $dev_files = Koha::Devel::Files->new( { context => 'tidy' } );
my @files = $dev_files->ls_perl_files;
plan tests => scalar @files + 1;

View File

@ -19,14 +19,14 @@ use Modern::Perl;
use Test::More;
use Test::NoWarnings;
use Pod::Coverage;
use Koha::Devel::Files;
# Note that we are using Pod::Coverage instead of Test::Pod::Coverage
# We do not want to fail if no pod exists in the file.
# That could be a next step
my @files;
push @files, qx{git ls-files '*.pm'};
chomp for @files;
my $dev_files = Koha::Devel::Files->new( { context => 'tidy' } );
my @files = $dev_files->ls_perl_files;
plan tests => scalar(@files) + 1;