Bugzilla – Attachment 191902 Details for
Bug 41521
WebService::ILS::OverDrive not passing pl_valid
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41521: Exclude lib/WebService from pod xt tests
f10f0b8.patch (text/plain), 1.88 KB, created by
Jonathan Druart
on 2026-01-23 09:38:28 UTC
(
hide
)
Description:
Bug 41521: Exclude lib/WebService from pod xt tests
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-01-23 09:38:28 UTC
Size:
1.88 KB
patch
obsolete
>From f10f0b81d771fe08b0d2c00f8f4ad52b59a85780 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 23 Jan 2026 10:22:23 +0100 >Subject: [PATCH] Bug 41521: Exclude lib/WebService from pod xt tests > >--- > Koha/Devel/Files.pm | 5 +++++ > xt/author/pod_checker.t | 2 +- > xt/author/pod_coverage.t | 6 +++--- > 3 files changed, 9 insertions(+), 4 deletions(-) > >diff --git a/Koha/Devel/Files.pm b/Koha/Devel/Files.pm >index a356549e0af..6321eed30da 100644 >--- a/Koha/Devel/Files.pm >+++ b/Koha/Devel/Files.pm >@@ -54,6 +54,11 @@ my $exceptions = { > misc/cronjobs/build_browser_and_cloud.pl > ) > ], >+ pod => [ >+ qw( >+ lib/WebService/ >+ ) >+ ], > core => [], > }, > js => { >diff --git a/xt/author/pod_checker.t b/xt/author/pod_checker.t >index 53e32ddf1b9..461aea259b8 100755 >--- a/xt/author/pod_checker.t >+++ b/xt/author/pod_checker.t >@@ -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; >diff --git a/xt/author/pod_coverage.t b/xt/author/pod_coverage.t >index 8430a12c4cb..5ebf7afa06b 100755 >--- a/xt/author/pod_coverage.t >+++ b/xt/author/pod_coverage.t >@@ -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; > >-- >2.43.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41521
:
191897
|
191898
|
191899
|
191900
|
191901
|
191902
|
191903
|
191904
|
191905
|
191917
|
191918
|
191919
|
192669
|
192670
|
192671
|
192672
|
192673
|
192674
|
192675
|
192676