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

(-)a/t/db_dependent/Koha/Biblios.t (-1 / +2 lines)
Lines 120-126 subtest 'waiting_or_in_transit' => sub { Link Here
120
        source => 'Branchtransfer',
120
        source => 'Branchtransfer',
121
        value => {
121
        value => {
122
            itemnumber => $item->itemnumber,
122
            itemnumber => $item->itemnumber,
123
            datearrived => undef
123
            datearrived => undef,
124
            datecancelled => undef,
124
        }
125
        }
125
    });
126
    });
126
    my $t = Koha::Database->new()->schema()->resultset( 'Branchtransfer' )->find($transfer->{branchtransfer_id});
127
    my $t = Koha::Database->new()->schema()->resultset( 'Branchtransfer' )->find($transfer->{branchtransfer_id});
(-)a/t/db_dependent/Koha/Z3950Responder/Session.t (-1 / +10 lines)
Lines 33-39 subtest 'add_item_status' => sub { Link Here
33
    my $item_marc_1 = C4::Items::GetMarcItem( $item_1->biblionumber, $item_1->itemnumber );
33
    my $item_marc_1 = C4::Items::GetMarcItem( $item_1->biblionumber, $item_1->itemnumber );
34
    my $item_field_1 = scalar $item_marc_1->field($itemtag);
34
    my $item_field_1 = scalar $item_marc_1->field($itemtag);
35
    $builder->build({ source => 'Reserve', value=> { itemnumber => $item_1->itemnumber } });
35
    $builder->build({ source => 'Reserve', value=> { itemnumber => $item_1->itemnumber } });
36
    $builder->build({ source => 'Branchtransfer', value=> { itemnumber => $item_1->itemnumber, datearrived => undef } });
36
    $builder->build(
37
        {
38
            source => 'Branchtransfer',
39
            value  => {
40
                itemnumber    => $item_1->itemnumber,
41
                datearrived   => undef,
42
                datecancelled => undef
43
            }
44
        }
45
    );
37
    ## END FIRST ITEM ##
46
    ## END FIRST ITEM ##
38
47
39
    ## SECOND ITEM HAS NO STATUSES ##
48
    ## SECOND ITEM HAS NO STATUSES ##
(-)a/t/db_dependent/Koha/Z3950Responder/Session2.t (-1 / +10 lines)
Lines 56-62 subtest 'add_item_status' => sub { Link Here
56
    my $item_marc_1 = C4::Items::GetMarcItem( $item_1->biblionumber, $item_1->itemnumber );
56
    my $item_marc_1 = C4::Items::GetMarcItem( $item_1->biblionumber, $item_1->itemnumber );
57
    my $item_field_1 = scalar $item_marc_1->field('952');
57
    my $item_field_1 = scalar $item_marc_1->field('952');
58
    $builder->build({ source => 'Reserve', value=> { itemnumber => $item_1->itemnumber } });
58
    $builder->build({ source => 'Reserve', value=> { itemnumber => $item_1->itemnumber } });
59
    $builder->build({ source => 'Branchtransfer', value=> { itemnumber => $item_1->itemnumber, datearrived => undef } });
59
    $builder->build(
60
        {
61
            source => 'Branchtransfer',
62
            value  => {
63
                itemnumber    => $item_1->itemnumber,
64
                datearrived   => undef,
65
                datecancelled => undef
66
            }
67
        }
68
    );
60
    ## END FIRST ITEM ##
69
    ## END FIRST ITEM ##
61
70
62
    ## SECOND ITEM HAS NO STATUSES ##
71
    ## SECOND ITEM HAS NO STATUSES ##
(-)a/t/db_dependent/Reserves.t (+1 lines)
Lines 866-871 subtest 'ReservesNeedReturns' => sub { Link Here
866
        value => {
866
        value => {
867
          itemnumber  => $item->itemnumber,
867
          itemnumber  => $item->itemnumber,
868
          datearrived => undef,
868
          datearrived => undef,
869
          datecancelled => undef
869
        }
870
        }
870
    });
871
    });
871
    $item->damaged(0)->store;
872
    $item->damaged(0)->store;
(-)a/t/db_dependent/XSLT.t (-1 / +1 lines)
Lines 90-95 subtest 'buildKohaItemsNamespace status tests' => sub { Link Here
90
    $builder->build({ source => "Branchtransfer", value => {
90
    $builder->build({ source => "Branchtransfer", value => {
91
        itemnumber  => $item->itemnumber,
91
        itemnumber  => $item->itemnumber,
92
        datearrived => undef,
92
        datearrived => undef,
93
        datecancelled => undef,
93
        }
94
        }
94
    });
95
    });
95
    $xml = C4::XSLT::buildKohaItemsNamespace( $item->biblionumber,[]);
96
    $xml = C4::XSLT::buildKohaItemsNamespace( $item->biblionumber,[]);
96
- 

Return to bug 26057