From 2a8daa5b76275552b1c423eefa75769a4bdab28b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= Date: Fri, 19 Mar 2021 13:53:19 +0200 Subject: [PATCH] Bug 20447: Move build_sample_holdings_record() description next to other descriptions This prevents the following QA tool error: WARNING: =head3 without preceding higher level in file t/lib/TestBuilder.pm --- t/lib/TestBuilder.pm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/t/lib/TestBuilder.pm b/t/lib/TestBuilder.pm index e5760f59d6..1779dc0fac 100644 --- a/t/lib/TestBuilder.pm +++ b/t/lib/TestBuilder.pm @@ -200,14 +200,6 @@ sub build_sample_item { )->store->get_from_storage; } -=head3 build_sample_holdings_record - - my $record = $builder->build_sample_holdings_record( { biblionumber = $bibno, library => $branch }); - -Creates and returns a sample Koha::Holding record. - -=cut - sub build_sample_holdings_record { my ( $self, $args ) = @_; @@ -695,6 +687,14 @@ returns the corresponding Koha::Object. my $patron = $builder->build_object({ class => 'Koha::Patrons' [, value => { ... }] }); +=head2 build_sample_holdings_record + + my $record = $builder->build_sample_holdings_record( { biblionumber = $bibno, library => $branch }); + +Creates and returns a sample Koha::Holding record. + +=cut + =head1 AUTHOR Yohann Dufour -- 2.11.0