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:
parent
5fd2fe48b9
commit
2007b17a84
1 changed files with 3 additions and 18 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue