Centralize remaining uses of Sub::Name within _Util
[dbsrgits/DBIx-Class.git] / t / 05components.t
index 9bd22f5..b6f2c3e 100644 (file)
@@ -1,10 +1,11 @@
-#!/usr/bin/perl
+BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
 
 use strict;
 use warnings;
 use Test::More;
 
-use lib qw(t/lib);
+
+use DBICTest;
 use DBICTest::ForeignComponent;
 
 #   Tests if foreign component was loaded by calling foreign's method