From accc01be116fdc64e8c2b0b3cdfda33aa2f53a4a 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 38a327ab2e..8f81aafa82 100644 --- a/t/lib/TestBuilder.pm +++ b/t/lib/TestBuilder.pm @@ -198,14 +198,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 ) = @_; @@ -693,6 +685,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