From: Peter Rabbitson Date: Sun, 21 Sep 2008 22:34:44 +0000 (+0000) Subject: Move the taint tests to a non-mainstream schema - hopefully this one will not be... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3fe04f740f70bc788e454cbe31775e30dce40397;p=dbsrgits%2FDBIx-Class-Historic.git Move the taint tests to a non-mainstream schema - hopefully this one will not be disturbed for a while --- diff --git a/t/54taint.t b/t/54taint.t index 8e93b48..69f69ef 100644 --- a/t/54taint.t +++ b/t/54taint.t @@ -13,11 +13,11 @@ BEGIN { : ( tests => 2 ); } -package DBICTest::Schema; +package DBICTest::Plain; -# Use the default test class namespace to avoid the need for a +# Use the Plain test class namespace to avoid the need for a # new test infrastructure. If invalid classes will be introduced to -# 't/lib/DBICTest/Schema/' someday, this has to be reworked. +# 't/lib/DBICTest/Plain/' someday, this has to be reworked. use lib qw(t/lib); @@ -28,6 +28,6 @@ use base qw/DBIx::Class::Schema/; eval{ __PACKAGE__->load_classes() }; cmp_ok( $@, 'eq', '', 'Loading classes with Module::Find worked in taint mode' ); -ok( __PACKAGE__->sources(), 'At least on source has been registered' ); +ok( __PACKAGE__->source('Test'), 'The Plain::Test source has been registered' ); 1;