2e08f626f5
Per discussion I had with Henri, removing experimental bulk editing from the staff search results code, as feature is incomplete and can be dangerous if one tries to use it on a large search result set. Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
37 lines
895 B
Perl
37 lines
895 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( findseealso
|
|
FindDuplicate
|
|
SimpleSearch
|
|
getRecords
|
|
pazGetRecords
|
|
_remove_stopwords
|
|
_detect_truncation
|
|
_build_stemmed_operand
|
|
_build_weighted_query
|
|
buildQuery
|
|
searchResults
|
|
NZgetRecords
|
|
NZanalyse
|
|
NZoperatorAND
|
|
NZoperatorOR
|
|
NZoperatorNOT
|
|
NZorder
|
|
);
|
|
|
|
can_ok( $self->testing_class, @methods );
|
|
}
|
|
|
|
1;
|