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

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

Return to bug 20447