Koha/t/db_dependent/lib/KohaTest/Search.pm
Tomas Cohen Arazi 4dcee58a4d Bug 7440 - Remove NoZebra vestiges
Removed NoZebra vestiges. This comprises several code blocks that depend on the NoZebra syspref and NZ related functions/methods.

C4::Biblio->
 GetNoZebraIndexes
 _DelBiblioNoZebra
 _AddBiblioNoZebra

C4::Search->
 NZgetRecords
 NZanalyse
 NZoperatorAND
 NZoperatorOR
 NZoperatorNOT
 NZorder

C4::Installer->
 set_indexing_engine

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-03-19 21:17:04 -04:00

31 lines
679 B
Perl

package KohaTest::Search;
use base qw( KohaTest );
use strict;
use warnings;
use Test::More;
use C4::Search;
sub testing_class { 'C4::Search' };
sub methods : Test( 1 ) {
my $self = shift;
my @methods = qw(
FindDuplicate
SimpleSearch
getRecords
pazGetRecords
_remove_stopwords
_detect_truncation
_build_stemmed_operand
_build_weighted_query
buildQuery
searchResults
);
can_ok( $self->testing_class, @methods );
}
1;