Only load DBICTest::Schema when needed in tests
[dbsrgits/DBIx-Class.git] / t / 746sybase.t
index af1f7a3..a8356ba 100644 (file)
@@ -29,6 +29,7 @@ eval "require DBIx::Class::Storage::$_;" for @storage_types;
 my $schema;
 my $storage_idx = -1;
 
+require DBICTest::Schema;
 sub get_schema {
   DBICTest::Schema->connect($dsn, $user, $pass, {
     on_connect_call => [