Only load DBICTest::Schema when needed in tests
[dbsrgits/DBIx-Class-Historic.git] / t / inflate / datetime_sqlanywhere.t
index 676665f..c17573b 100644 (file)
@@ -43,9 +43,7 @@ foreach my $info (@info) {
 
   next unless $dsn;
 
-  $schema = DBICTest::Schema->clone;
-
-  $schema->connection($dsn, $user, $pass, {
+  $schema = DBICTest->connect_schema($dsn, $user, $pass, {
     on_connect_call => 'datetime_setup',
   });