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

(-)a/Koha/Library.pm (-1 lines)
Lines 115-121 sub to_api_mapping { Link Here
115
        branchurl        => 'url',
115
        branchurl        => 'url',
116
        issuing          => undef,
116
        issuing          => undef,
117
        branchip         => 'ip',
117
        branchip         => 'ip',
118
        branchprinter    => undef,
119
        branchnotes      => 'notes',
118
        branchnotes      => 'notes',
120
        marcorgcode      => 'marc_org_code',
119
        marcorgcode      => 'marc_org_code',
121
    };
120
    };
(-)a/t/Koha/Script.t (-1 lines)
Lines 33-39 is_deeply( Link Here
33
        'cardnumber'    => undef,
33
        'cardnumber'    => undef,
34
        'firstname'     => 'CLI',
34
        'firstname'     => 'CLI',
35
        'branchname'    => undef,
35
        'branchname'    => undef,
36
        'branchprinter' => undef,
37
        'emailaddress'  => undef,
36
        'emailaddress'  => undef,
38
        'number'        => undef,
37
        'number'        => undef,
39
        'shibboleth'    => undef,
38
        'shibboleth'    => undef,
(-)a/t/Koha/Script_cron.t (-1 lines)
Lines 33-39 is_deeply( Link Here
33
        'cardnumber'    => undef,
33
        'cardnumber'    => undef,
34
        'firstname'     => 'CRON',
34
        'firstname'     => 'CRON',
35
        'branchname'    => undef,
35
        'branchname'    => undef,
36
        'branchprinter' => undef,
37
        'emailaddress'  => undef,
36
        'emailaddress'  => undef,
38
        'number'        => undef,
37
        'number'        => undef,
39
        'shibboleth'    => undef,
38
        'shibboleth'    => undef,
(-)a/t/db_dependent/Circulation/GetHardDueDate.t (-2 lines)
Lines 53-59 my $samplebranch1 = { Link Here
53
    branchemail    => 'sample email',
53
    branchemail    => 'sample email',
54
    branchurl      => 'sample url',
54
    branchurl      => 'sample url',
55
    branchip       => 'sample ip',
55
    branchip       => 'sample ip',
56
    branchprinter  => undef,
57
    opac_info      => 'sample opac',
56
    opac_info      => 'sample opac',
58
};
57
};
59
my $samplebranch2 = {
58
my $samplebranch2 = {
Lines 71-77 my $samplebranch2 = { Link Here
71
    branchemail    => 'sample email2',
70
    branchemail    => 'sample email2',
72
    branchurl      => 'sample url2',
71
    branchurl      => 'sample url2',
73
    branchip       => 'sample ip2',
72
    branchip       => 'sample ip2',
74
    branchprinter  => undef,
75
    opac_info      => 'sample opac2',
73
    opac_info      => 'sample opac2',
76
};
74
};
77
Koha::Library->new($samplebranch1)->store;
75
Koha::Library->new($samplebranch1)->store;
(-)a/t/db_dependent/Circulation/OfflineOperation.t (-1 lines)
Lines 48-54 my $samplebranch1 = { Link Here
48
    branchemail    => 'sample email',
48
    branchemail    => 'sample email',
49
    branchurl      => 'sample url',
49
    branchurl      => 'sample url',
50
    branchip       => 'sample ip',
50
    branchip       => 'sample ip',
51
    branchprinter  => undef,
52
    opac_info      => 'sample opac',
51
    opac_info      => 'sample opac',
53
};
52
};
54
Koha::Library->new($samplebranch1)->store;
53
Koha::Library->new($samplebranch1)->store;
(-)a/t/db_dependent/RotatingCollections.t (-1 lines)
Lines 186-192 my $samplebranch = { Link Here
186
    branchemail    => 'sample email',
186
    branchemail    => 'sample email',
187
    branchurl      => 'sample url',
187
    branchurl      => 'sample url',
188
    branchip       => 'sample ip',
188
    branchip       => 'sample ip',
189
    branchprinter  => undef,
190
    branchnotes    => 'sample note',
189
    branchnotes    => 'sample note',
191
    opac_info      => 'sample opac',
190
    opac_info      => 'sample opac',
192
};
191
};
(-)a/t/lib/Mocks.pm (-3 / +2 lines)
Lines 60-68 sub mock_userenv { Link Here
60
    my $branchname   = $params->{branchname}   || $userenv->{branchname};
60
    my $branchname   = $params->{branchname}   || $userenv->{branchname};
61
    my $flags        = $params->{flags}        || $userenv->{flags}          || 0;
61
    my $flags        = $params->{flags}        || $userenv->{flags}          || 0;
62
    my $emailaddress = $params->{emailaddress} || $userenv->{emailaddress};
62
    my $emailaddress = $params->{emailaddress} || $userenv->{emailaddress};
63
    my ( $branchprinter, $shibboleth );
63
    my ( $shibboleth );
64
64
65
    C4::Context->set_userenv($usernum, $userid, $cardnumber, $firstname, $surname, $branchcode, $branchname, $flags, $emailaddress, $branchprinter, $shibboleth );
65
    C4::Context->set_userenv($usernum, $userid, $cardnumber, $firstname, $surname, $branchcode, $branchname, $flags, $emailaddress, $shibboleth );
66
}
66
}
67
67
68
1;
68
1;
69
- 

Return to bug 17845