Only load DBICTest::Schema when needed in tests
[dbsrgits/DBIx-Class.git] / t / 103many_to_many_warning.t
index 2c42091..2dcc271 100644 (file)
@@ -4,6 +4,7 @@ use Test::More;
 
 use lib qw(t/lib);
 use DBICTest;
+use DBICTest::Schema;
 
 my $exp_warn = qr/The many-to-many relationship 'bars' is trying to create/;