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::Plain;
18 # Use the Plain test class namespace to avoid the need for a
19 # new test infrastructure. If invalid classes will be introduced to
20 # 't/lib/DBICTest/Plain/' 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__->source('Test'), 'The Plain::Test source has been registered' );