From 87a130e21fc6eee11077f37949820f744e527ea4 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 19 Oct 2022 12:05:12 +0000 Subject: [PATCH] Bug 31870: Add license, remove unused modules Content-Type: text/plain; charset=utf-8 Test plan: Run test again. Signed-off-by: Marcel de Rooy --- t/db_dependent/Context.t | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/t/db_dependent/Context.t b/t/db_dependent/Context.t index ff35b9e3f3..88539fe34b 100755 --- a/t/db_dependent/Context.t +++ b/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"); - }; -- 2.30.2