Only load DBICTest::Schema when needed in tests
[dbsrgits/DBIx-Class.git] / t / inflate / datetime_msaccess.t
index f012199..b2f2a8c 100644 (file)
@@ -39,7 +39,7 @@ for my $connect_info (@connect_info) {
 
   next unless $dsn;
 
-  my $schema = DBICTest::Schema->connect($dsn, $user, $pass, {
+  my $schema = DBICTest->connect_schema($dsn, $user, $pass, {
     on_connect_call => 'datetime_setup',
     quote_names => 1,
   });