3 # the above line forces Test::Harness into taint-mode
11 eval "require Module::Find;";
12 @plan = $@ ? ( skip_all => 'Could not load Module::Find' )
16 package DBICTest::Schema;
18 # Use the default test class namespace to avoid the need for a
19 # new test infrastructure. If invalid classes will be introduced to
20 # 't/lib/DBICTest/Schema/' someday, this has to be reworked.
26 use base qw/DBIx::Class::Schema/;
28 eval{ __PACKAGE__->load_classes() };
30 'Loading classes with Module::Find worked in taint mode' );
31 ok( __PACKAGE__->sources(), 'At least on source has been registered' );