Bug 34969: Remove unneeded module from buildQuery.t

Test plan:
Run t/Search/buildQuery.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit af093305b8)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Marcel de Rooy 2023-09-30 06:52:08 +00:00 committed by Fridolin Somers
parent 5fd2fe48b9
commit 2007b17a84

View file

@ -16,27 +16,12 @@
# along with Koha; if not, see <http://www.gnu.org/licenses>.
use Modern::Perl;
use Test::More tests => 9;
use Net::Z3950::ZOOM;
use Test::More;
use t::lib::Mocks;
use Module::Load::Conditional qw/check_install/;
BEGIN {
if ( check_install( module => 'Test::DBIx::Class' ) ) {
plan tests => 12;
} else {
plan skip_all => "Need Test::DBIx::Class"
}
}
# Mock the DB connection and C4::Context
use Test::DBIx::Class;
use_ok('C4::Search', qw( buildQuery ));
can_ok('C4::Search',
qw/buildQuery/);
use_ok("Net::Z3950::ZOOM");
use C4::Search qw( buildQuery );
#FIXME: would it be better to use our real ccl.properties file?
sub _get_ccl_properties {