Only load DBICTest::Schema when needed in tests
[dbsrgits/DBIx-Class.git] / t / 746db2_400.t
index 3a5d902..cb5213b 100644 (file)
@@ -21,6 +21,7 @@ plan skip_all => 'Set $ENV{DBICTEST_DB2_400_DSN}, _USER and _PASS to run this te
 
 plan tests => 6;
 
+require DBICTest::Schema;
 my $schema = DBICTest::Schema->connect($dsn, $user, $pass);
 
 my $dbh = $schema->storage->dbh;