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

(-)a/t/db_dependent/Holds.t (-4 / +9 lines)
Lines 1738-1747 subtest 'Koha::Holds->get_items_that_can_fill returns items with datecancelled o Link Here
1738
    my $biblio2 = $builder->build_sample_biblio();
1738
    my $biblio2 = $builder->build_sample_biblio();
1739
    my $item2 = $builder->build_sample_item({ biblionumber => $biblio2->biblionumber });
1739
    my $item2 = $builder->build_sample_item({ biblionumber => $biblio2->biblionumber });
1740
1740
1741
    my $transfer2 = $builder->build_object({ class => "Koha::Item::Transfers", value => {
1741
    my $transfer2 = $builder->build_object(
1742
        datecancelled => undef,
1742
        {   class => "Koha::Item::Transfers",
1743
        itemnumber => $item2->itemnumber
1743
            value => {
1744
    }});
1744
                datearrived   => dt_from_string,
1745
                datecancelled => undef,
1746
                itemnumber    => $item2->itemnumber
1747
            }
1748
        }
1749
    );
1745
1750
1746
    my $hold2 = $builder->build_object({ class => 'Koha::Holds', value => {
1751
    my $hold2 = $builder->build_object({ class => 'Koha::Holds', value => {
1747
        biblionumber => $biblio2->biblionumber,
1752
        biblionumber => $biblio2->biblionumber,
(-)a/t/lib/TestBuilder.pm (-2 / +1 lines)
Lines 592-598 sub _gen_default_values { Link Here
592
        },
592
        },
593
        Branchtransfer => {
593
        Branchtransfer => {
594
            daterequested      => dt_from_string(),
594
            daterequested      => dt_from_string(),
595
            datesent           => dt_from_string(),
595
            datesent           => undef,
596
            datearrived        => undef,
596
            datearrived        => undef,
597
            datecancelled      => undef,
597
            datecancelled      => undef,
598
            reason             => undef,
598
            reason             => undef,
599
- 

Return to bug 29234