From: Galen Charlton Date: Mon, 14 Oct 2013 22:51:44 +0000 (+0000) Subject: Bug 8798: (follow-up) remove DBIC_DONT_VALIDATE_RELS X-Git-Tag: v3.14.00-alpha1~2 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=d1ddce95d4730e97e90431b1b71247a822460808;p=koha-ffzg.git Bug 8798: (follow-up) remove DBIC_DONT_VALIDATE_RELS This corrects a failing test and follows a recommendation by the maintainer of DBIx::Class. This patch also adds a couple new directories for t/00-testcritic.t to check. Signed-off-by: Galen Charlton --- diff --git a/Koha/Database.pm b/Koha/Database.pm index c10a61aa3b..4c6cae6f4e 100644 --- a/Koha/Database.pm +++ b/Koha/Database.pm @@ -32,8 +32,6 @@ Koha::Database =cut -$ENV{'DBIC_DONT_VALIDATE_RELS'} = 1; # FIXME once the DBIx schema has its schema adjusted we should remove this - use Modern::Perl; use Carp; use C4::Context; diff --git a/t/00-testcritic.t b/t/00-testcritic.t index caa95d6c27..fa0fcc3a82 100755 --- a/t/00-testcritic.t +++ b/t/00-testcritic.t @@ -12,8 +12,8 @@ use File::Spec; use Test::More; use English qw(-no_match_vars); -my @all_koha_dirs = qw( acqui admin authorities basket C4 catalogue cataloguing circ debian errors -labels members misc offline_circ opac patroncards reports reserve reviews rotating_collections +my @all_koha_dirs = qw( acqui admin authorities basket C4 catalogue cataloguing circ course_reserves debian errors +labels members misc offline_circ opac patroncards patron_lists reports reserve reviews rotating_collections serials sms suggestion t tags test tools virtualshelves Koha); my @dirs = qw( acqui admin authorities basket catalogue cataloguing circ debian errors labels