@@ -, +, @@ --- Koha/Library.pm | 1 - t/Koha/Script.t | 1 - t/Koha/Script_cron.t | 1 - t/db_dependent/Circulation/GetHardDueDate.t | 2 -- t/db_dependent/Circulation/OfflineOperation.t | 1 - t/db_dependent/RotatingCollections.t | 1 - t/lib/Mocks.pm | 4 ++-- 7 files changed, 2 insertions(+), 9 deletions(-) --- a/Koha/Library.pm +++ a/Koha/Library.pm @@ -115,7 +115,6 @@ sub to_api_mapping { branchurl => 'url', issuing => undef, branchip => 'ip', - branchprinter => undef, branchnotes => 'notes', marcorgcode => 'marc_org_code', }; --- a/t/Koha/Script.t +++ a/t/Koha/Script.t @@ -33,7 +33,6 @@ is_deeply( 'cardnumber' => undef, 'firstname' => 'CLI', 'branchname' => undef, - 'branchprinter' => undef, 'emailaddress' => undef, 'number' => undef, 'shibboleth' => undef, --- a/t/Koha/Script_cron.t +++ a/t/Koha/Script_cron.t @@ -33,7 +33,6 @@ is_deeply( 'cardnumber' => undef, 'firstname' => 'CRON', 'branchname' => undef, - 'branchprinter' => undef, 'emailaddress' => undef, 'number' => undef, 'shibboleth' => undef, --- a/t/db_dependent/Circulation/GetHardDueDate.t +++ a/t/db_dependent/Circulation/GetHardDueDate.t @@ -53,7 +53,6 @@ my $samplebranch1 = { branchemail => 'sample email', branchurl => 'sample url', branchip => 'sample ip', - branchprinter => undef, opac_info => 'sample opac', }; my $samplebranch2 = { @@ -71,7 +70,6 @@ my $samplebranch2 = { branchemail => 'sample email2', branchurl => 'sample url2', branchip => 'sample ip2', - branchprinter => undef, opac_info => 'sample opac2', }; Koha::Library->new($samplebranch1)->store; --- a/t/db_dependent/Circulation/OfflineOperation.t +++ a/t/db_dependent/Circulation/OfflineOperation.t @@ -48,7 +48,6 @@ my $samplebranch1 = { branchemail => 'sample email', branchurl => 'sample url', branchip => 'sample ip', - branchprinter => undef, opac_info => 'sample opac', }; Koha::Library->new($samplebranch1)->store; --- a/t/db_dependent/RotatingCollections.t +++ a/t/db_dependent/RotatingCollections.t @@ -186,7 +186,6 @@ my $samplebranch = { branchemail => 'sample email', branchurl => 'sample url', branchip => 'sample ip', - branchprinter => undef, branchnotes => 'sample note', opac_info => 'sample opac', }; --- a/t/lib/Mocks.pm +++ a/t/lib/Mocks.pm @@ -60,9 +60,9 @@ sub mock_userenv { my $branchname = $params->{branchname} || $userenv->{branchname}; my $flags = $params->{flags} || $userenv->{flags} || 0; my $emailaddress = $params->{emailaddress} || $userenv->{emailaddress}; - my ( $branchprinter, $shibboleth ); + my ( $shibboleth ); - C4::Context->set_userenv($usernum, $userid, $cardnumber, $firstname, $surname, $branchcode, $branchname, $flags, $emailaddress, $branchprinter, $shibboleth ); + C4::Context->set_userenv($usernum, $userid, $cardnumber, $firstname, $surname, $branchcode, $branchname, $flags, $emailaddress, $shibboleth ); } 1; --