Tomas Cohen Arazi
4dcee58a4d
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>
41 lines
982 B
Perl
41 lines
982 B
Perl
package KohaTest::Installer;
|
|
use base qw( KohaTest );
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
use Test::More;
|
|
use C4::Languages;
|
|
use C4::Installer;
|
|
|
|
sub SKIP_CLASS : Expensive { }
|
|
|
|
sub testing_class { 'C4::Installer' };
|
|
|
|
sub methods : Test( 1 ) {
|
|
my $self = shift;
|
|
my @methods = qw(
|
|
new
|
|
marcflavour_list
|
|
marc_framework_sql_list
|
|
sample_data_sql_list
|
|
sql_file_list
|
|
load_db_schema
|
|
load_sql_in_order
|
|
set_marcflavour_syspref
|
|
set_version_syspref
|
|
load_sql
|
|
);
|
|
can_ok( $self->testing_class, @methods );
|
|
}
|
|
|
|
# ensure that we have a fresh, empty database
|
|
# after running through the installer tests
|
|
sub shutdown_50_init_db : Tests( shutdown ) {
|
|
my $self = shift;
|
|
|
|
KohaTest::clear_test_database();
|
|
KohaTest::create_test_database();
|
|
}
|
|
|
|
1;
|