Bug 8798: (follow-up) remove DBIC_DONT_VALIDATE_RELS
authorGalen Charlton <gmc@esilibrary.com>
Mon, 14 Oct 2013 22:51:44 +0000 (22:51 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 14 Oct 2013 22:51:44 +0000 (22:51 +0000)
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 <gmc@esilibrary.com>
Koha/Database.pm
t/00-testcritic.t

index c10a61a..4c6cae6 100644 (file)
@@ -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;
index caa95d6..fa0fcc3 100755 (executable)
@@ -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