@@ -, +, @@ --- t/db_dependent/Context.t | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) --- a/t/db_dependent/Context.t +++ a/t/db_dependent/Context.t @@ -1,11 +1,22 @@ #!/usr/bin/perl +# Copyright 2008, 2022 Koha development team +# +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . + use Modern::Perl; use Test::More tests => 4; -use Test::MockModule; - -use t::lib::Mocks; -use t::lib::TestBuilder; use C4::Context; use Koha::Database; @@ -135,5 +146,4 @@ subtest 'Zconn' => sub { isnt($oConnection->option('async'), 1, "ZOOM connection is synchronous"); $oConnection = C4::Context->Zconn('biblioserver', 1); is($oConnection->option('async'), 1, "ZOOM connection is asynchronous"); - }; --