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

(-)a/t/lib/TestBuilder.pm (-1 / +7 lines)
Lines 531-536 Note that you should wrap these actions in a transaction yourself. Link Here
531
    Realize that passing primary key values to build may result in undef
531
    Realize that passing primary key values to build may result in undef
532
    if a record with that primary key already exists.
532
    if a record with that primary key already exists.
533
533
534
=head2 build_object
535
536
Given a plural Koha::Object-derived class, it creates a random element, and
537
returns the corresponding Koha::Object.
538
539
    my $patron = $builder->build_object({ class => 'Koha::Patrons', id => 'borrowernumber' });
540
534
=head1 AUTHOR
541
=head1 AUTHOR
535
542
536
Yohann Dufour <yohann.dufour@biblibre.com>
543
Yohann Dufour <yohann.dufour@biblibre.com>
537
- 

Return to bug 18182