From d1ddce95d4730e97e90431b1b71247a822460808 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 14 Oct 2013 22:51:44 +0000 Subject: [PATCH] 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 --- Koha/Database.pm | 2 -- t/00-testcritic.t | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) 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 -- 2.39.5