Fix building on perls with no . in @INC
[dbsrgits/DBIx-Class.git] / t / 63register_source.t
index 017ca64..b4eb206 100644 (file)
@@ -1,9 +1,12 @@
+BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
+
 use strict;
 use warnings;
 
 use Test::Exception tests => 1;
-use lib qw(t/lib);
+
 use DBICTest;
+use DBICTest::Schema;
 use DBIx::Class::ResultSource::Table;
 
 my $schema = DBICTest->init_schema();