Merge the relationship resolution rework
[dbsrgits/DBIx-Class.git] / t / storage / on_connect_do.t
index 115fadb..28a7e3a 100644 (file)
@@ -1,6 +1,10 @@
+BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
+
 use strict;
 use warnings;
 
+BEGIN { $ENV{DBICTEST_VIA_REPLICATED} = 0 }
+
 # !!! do not replace this with done_testing - tests reside in the callbacks
 # !!! number of calls is important
 use Test::More tests => 13;
@@ -8,7 +12,7 @@ use Test::More tests => 13;
 use Test::Warn;
 use Test::Exception;
 
-use lib qw(t/lib);
+
 use DBICTest;
 require DBI;