View | Details | Raw Unified | Return to bug 20447
Collapse All | Expand All

(-)a/t/lib/TestBuilder.pm (-9 / +8 lines)
Lines 200-213 sub build_sample_item { Link Here
200
    )->store->get_from_storage;
200
    )->store->get_from_storage;
201
}
201
}
202
202
203
=head3 build_sample_holdings_record
204
205
    my $record = $builder->build_sample_holdings_record( { biblionumber = $bibno, library => $branch });
206
207
Creates and returns a sample Koha::Holding record.
208
209
=cut
210
211
sub build_sample_holdings_record {
203
sub build_sample_holdings_record {
212
    my ( $self, $args ) = @_;
204
    my ( $self, $args ) = @_;
213
205
Lines 695-700 returns the corresponding Koha::Object. Link Here
695
687
696
    my $patron = $builder->build_object({ class => 'Koha::Patrons' [, value => { ... }] });
688
    my $patron = $builder->build_object({ class => 'Koha::Patrons' [, value => { ... }] });
697
689
690
=head2 build_sample_holdings_record
691
692
    my $record = $builder->build_sample_holdings_record( { biblionumber = $bibno, library => $branch });
693
694
Creates and returns a sample Koha::Holding record.
695
696
=cut
697
698
=head1 AUTHOR
698
=head1 AUTHOR
699
699
700
Yohann Dufour <yohann.dufour@biblibre.com>
700
Yohann Dufour <yohann.dufour@biblibre.com>
701
- 

Return to bug 20447