Only load DBICTest::Schema when needed in tests
[dbsrgits/DBIx-Class.git] / t / 94versioning.t
index a154d8f..8dde154 100644 (file)
@@ -33,7 +33,7 @@ BEGIN {
 
 # this is just to grab a lock
 {
-  my $s = DBICTest::Schema->connect($dsn, $user, $pass);
+  my $s = DBICTest->connect_schema($dsn, $user, $pass);
 }
 
 # in case it came from the env