From c91df34108cdbe5254bde20e257efaac58d7ae1c Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Sat, 30 Sep 2023 06:52:08 +0000 Subject: [PATCH] Bug 34969: Remove unneeded module from buildQuery.t Content-Type: text/plain; charset=utf-8 Test plan: Run t/Search/buildQuery.t Signed-off-by: Marcel de Rooy --- t/Search/buildQuery.t | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/t/Search/buildQuery.t b/t/Search/buildQuery.t index 58d8158f96..d03b2cf8b0 100755 --- a/t/Search/buildQuery.t +++ b/t/Search/buildQuery.t @@ -16,27 +16,12 @@ # along with Koha; if not, see . 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 { -- 2.30.2